Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tracking] Update TaskDialog HandleTaskDialogNativeCallback code when CsWin32 is updated to use Win32MetaData v57 #10348

Open
Tracked by #10624
elachlan opened this issue Nov 21, 2023 · 3 comments
Labels
Milestone

Comments

@elachlan
Copy link
Contributor

Based on comment: #9900 (comment)

[UnmanagedCallersOnly]
private static HRESULT HandleTaskDialogNativeCallback(
HWND hwnd,
TASKDIALOG_NOTIFICATIONS msg,
IntPtr wParam,
IntPtr lParam,
IntPtr lpRefData) =>
// Call the instance method by dereferencing the GC handle.
(((GCHandle)lpRefData).Target as TaskDialog)!.HandleTaskDialogCallback(
hwnd,
msg,
wParam,
lParam);

@Tanya-Solyanik
Copy link
Member

@elachlan - could yo uplease check if v57 had been released?

@elachlan
Copy link
Contributor Author

CsWin32 is now using v60 of the metadata. But I am unsure if the issue has been resolved.

@lonitra
Copy link
Member

lonitra commented Oct 8, 2024

This is blocked on microsoft/CsWin32#1204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants