-
Notifications
You must be signed in to change notification settings - Fork 89
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
Null value for HINSTANCE #639
Labels
enhancement
New feature or request
Comments
In general this would be nice for the wrapper structs ( |
Maybe we can add it along side #610? |
So pretty much: public static readonly IntPtr Null; |
Wouldn't this be: public static readonly HINSTANCE Null; |
Yes. I realised this as I went to bed. I'll fix it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Inside a method that returns a HINSTANCE, the returning null value has to be explicitly cast to an HINSTANCE:
(HINSTANCE)0
.Describe the solution you'd like
A null value for HINSTANCE, such as:
HINSTANCE.Null
The text was updated successfully, but these errors were encountered: