@@ -205,7 +205,7 @@ public async Task DelegatesGetStructsGenerated()
205205 // Optional and MemorySize-d struct params, optional params included
206206 [ "SetupDiGetClassInstallParams" , "SetupDiGetClassInstallParams" , "SafeHandle DeviceInfoSet, [Optional] winmdroot.Devices.DeviceAndDriverInstallation.SP_DEVINFO_DATA? DeviceInfoData, [Optional] Span<byte> ClassInstallParams, out uint RequiredSize" ] ,
207207 [ "IEnumString" , "Next" , "this winmdroot.System.Com.IEnumString @this, Span<winmdroot.Foundation.PWSTR> rgelt, out uint pceltFetched" ] ,
208- [ "PSCreateMemoryPropertyStore" , "PSCreateMemoryPropertyStore" , "in global::System.Guid riid, out void* ppv" ] ,
208+ [ "PSCreateMemoryPropertyStore" , "PSCreateMemoryPropertyStore" , "in global::System.Guid riid, out object ppv" ] ,
209209 [ "DeviceIoControl" , "DeviceIoControl" , "SafeHandle hDevice, uint dwIoControlCode, [Optional] ReadOnlySpan<byte> lpInBuffer, [Optional] Span<byte> lpOutBuffer, out uint lpBytesReturned, [Optional] global::System.Threading.NativeOverlapped* lpOverlapped" ] ,
210210 [ "DeviceIoControl" , "DeviceIoControl" , "SafeHandle hDevice, uint dwIoControlCode, [Optional] ReadOnlySpan<byte> lpInBuffer, [Optional] Span<byte> lpOutBuffer, out uint lpBytesReturned, [Optional] global::System.Threading.NativeOverlapped* lpOverlapped" , true , "NativeMethods.IncludePointerOverloads.json" ] ,
211211 [ "NtQueryObject" , "NtQueryObject" , "[Optional] global::Windows.Win32.Foundation.HANDLE Handle, winmdroot.Foundation.OBJECT_INFORMATION_CLASS ObjectInformationClass, [Optional] Span<byte> ObjectInformation, out uint ReturnLength" ] ,
@@ -220,7 +220,7 @@ public async Task DelegatesGetStructsGenerated()
220220 [ "EnumProcessModules" , "EnumProcessModules" , "SafeHandle hProcess, Span<byte> lphModule, out uint lpcbNeeded" ] ,
221221 [ "Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FwpmProviderAdd0" , "FwpmProviderAdd0" , "SafeHandle engineHandle, in winmdroot.NetworkManagement.WindowsFilteringPlatform.FWPM_PROVIDER0 provider, [Optional] winmdroot.Security.PSECURITY_DESCRIPTOR sd" ] ,
222222 // Verify the ABI signature has [Optional] on Optional and Reserved parameters.
223- [ "Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FwpmEngineOpen0" , "FwpmEngineOpen0" , "[Optional] winmdroot.Foundation.PCWSTR serverName, uint authnService, [Optional] winmdroot.System.Rpc.SEC_WINNT_AUTH_IDENTITY_W* authIdentity, [Optional] winmdroot.NetworkManagement.WindowsFilteringPlatform.FWPM_SESSION0* session, winmdroot.Foundation.HANDLE * engineHandle" ] ,
223+ [ "Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FwpmEngineOpen0" , "FwpmEngineOpen0" , "[Optional] winmdroot.Foundation.PCWSTR serverName, uint authnService, [Optional] winmdroot.System.Rpc.SEC_WINNT_AUTH_IDENTITY_W* authIdentity, [Optional] winmdroot.NetworkManagement.WindowsFilteringPlatform.FWPM_SESSION0* session, winmdroot.NetworkManagement.WindowsFilteringPlatform.FWPM_ENGINE_HANDLE * engineHandle" ] ,
224224 // WlanCloseHandle accepts an additional reserved parameter. We can still generate safe hanlde for WlanOpenHandle then
225225 [ "WlanOpenHandle" , "WlanOpenHandle" , "uint dwClientVersion, out uint pdwNegotiatedVersion, out global::Windows.Win32.WlanCloseHandleSafeHandle phClientHandle" ] ,
226226 ] ;
0 commit comments