-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Actual behavior
The signature for the friendly overload is MsiDatabaseOpenView(SafeHandle hDatabase, string szQuery, ref MSIHANDLE phView), which doesn't match the docs as it's an out parameter, and the ref'd parameter cannot be used with MsiViewExecute() without creating my own SafeHandle or using the bare P/Invoke.
Expected behavior
The phView should be an out parameter and should typed as MsiCloseHandleSafeHandle.
Repro steps
NativeMethods.txtcontent:
MsiDatabaseOpenView
-
NativeMethods.jsoncontent (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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working