Actual behavior
The docs say that these values are optional and 0 can be specified. The only way for me to handle this is to create a SafeHandle with a value of nint.Zero and use it.
Expected behavior
That these optional SafeHandle values accept null and handle it internally.
Repro steps
NativeMethods.txt content:
MsiGetSummaryInformation
MsiViewExecute
-
NativeMethods.json content (if present): N/A
-
Any of your own code that should be shared? N/A
Context
- CsWin32 version: 0.3.269
- Win32Metadata version (if explicitly set by project): N/A
- Target Framework: net472
LangVersion (if explicitly set by project): N/A