-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
PSReflect does not have the ability to use the MarshalAs attribute on function parameters.
Below is an example P/Invoke definition where the MarshalAs attribute is used on the pgActionID parameter:
[DllImport("wintrust.dll", ExactSpelling = true, SetLastError = false, CharSet = CharSet.Unicode)]
static extern WinVerifyTrustResult WinVerifyTrust(
[In] IntPtr hwnd,
[In] [MarshalAs(UnmanagedType.LPStruct)] Guid pgActionID,
[In] WinTrustData pWVTData
);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels