-
What's the best way to declare an empty SafeHandle when this parameter is ignored (for example, in CallNextHookEx)? |
Beta Was this translation helpful? Give feedback.
Answered by
jnm2
Mar 28, 2022
Replies: 1 comment 2 replies
-
I believe you can pass |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
HavenDV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe you can pass
null
to the friendly overload which will handle it correctly. (Unlike how traditional p/invoke has worked.)