-
Notifications
You must be signed in to change notification settings - Fork 86
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
CsWin32 generates SafeHandle
parameter for LPPROC_THREAD_ATTRIBUTE_LIST
in CreateRemoteThreadEx
#1180
Comments
Additionally, the generated overload throws Maybe this is just a Win32Metadata bug? |
I'm on 0.3.106 and don't see the problem with offering a SafeHandle overload. A non-SafeHandle overload is also offered. This is typical behavior. As for throwing |
Just to clarify: Are you saying that you do see the Assuming I understood you correctly: The problem is that it just isn't a handle. Calling |
What I don't see here is an actual |
Hmm. If CsWin32 is going to encourage By taking just |
Your concern about the input parameters being typed as |
Actual behavior
Expected behavior
Probably no
SafeHandle
-ification for this parameter.Repro steps
NativeMethods.txt
content:NativeMethods.json
content (if present):Context
net8.0
LangVersion
(if explicitly set by project):latest
The text was updated successfully, but these errors were encountered: