Emit handles as void* not IntPtr. Fixed #1924.
This commit is contained in:
Родитель
f8a65c0364
Коммит
b4dfd2f25c
|
@ -683,3 +683,205 @@ Windows.Win32.System.SystemServices.Apis.PDCAP_WAKE_FROM_D1_SUPPORTED removed
|
|||
Windows.Win32.System.SystemServices.Apis.PDCAP_WAKE_FROM_D2_SUPPORTED removed
|
||||
Windows.Win32.System.SystemServices.Apis.PDCAP_WAKE_FROM_D3_SUPPORTED removed
|
||||
Windows.Win32.System.SystemServices.Apis.PDCAP_WARM_EJECT_SUPPORTED removed
|
||||
# Fixed #1924.
|
||||
Windows.Win32.Devices.Bluetooth.HBLUETOOTH_DEVICE_FIND.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Bluetooth.HBLUETOOTH_RADIO_FIND.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.DeviceAndDriverInstallation.HCMNOTIFICATION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.DeviceQuery.HDEVQUERY.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.DHPDEV.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.DHSURF.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.HBM.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.HDEV.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.HDRVOBJ.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.HFASTMUTEX.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.HSEMAPHORE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Display.HSURF.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Enumeration.Pnp.HSWDEVICE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.SerialCommunication.HCOMDB.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HDRVCALL.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HDRVDIALOGINSTANCE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HDRVLINE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HDRVMSPLINE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HDRVPHONE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HPROVIDER.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HTAPICALL.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HTAPILINE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Tapi.HTAPIPHONE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Usb.USB_CHANGE_REGISTRATION_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Devices.Usb.WINUSB_INTERFACE_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HINSTANCE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HLSURF.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HMODULE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HRSRC.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HSPRITE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HSTR.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HUMPD.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Foundation.HWND.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Globalization.HSAVEDUILANGUAGES.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HBITMAP.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HBRUSH.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HDC.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HENHMETAFILE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HFONT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HGDIOBJ.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HMETAFILE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HMONITOR.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HPALETTE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HPEN.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Gdi.HRGN.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.OpenGL.HGLRC.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Graphics.Printing.Apis.DeletePrinter : hPrinter : [In] => [In,Out]
|
||||
Windows.Win32.Graphics.Printing.PrintTicket.HPTPROVIDER.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HACMDRIVER.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HACMDRIVERID.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HACMOBJ.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HACMSTREAM.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HMIDI.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HMIDIIN.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HMIDIOUT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HMIDISTRM.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HMIXER.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HMIXEROBJ.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HWAVE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HWAVEIN.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Audio.HWAVEOUT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.HTASK.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Multimedia.HDRVR.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Multimedia.HIC.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Multimedia.HMMIO.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Multimedia.HVIDEO.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPGRAMMARHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPPHRASEPROPERTYHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPPHRASERULEHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPRECOCONTEXTHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPRULEHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPSTATEHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPTRANSITIONID.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Media.Speech.SPWORDHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Networking.WebSocket.WEB_SOCKET_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Networking.WinInet.Apis.InternetUnlockRequestFile : hLockRequestInfo : [In] => [In,Out]
|
||||
Windows.Win32.Networking.WinInet.HTTP_PUSH_WAIT_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.NetworkManagement.IpHelper.HIFTIMESTAMPCHANGE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.NetworkManagement.QoS.LPM_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.NetworkManagement.QoS.RHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.NetworkManagement.Rras.HRASCONN.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmCalloutDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmCalloutUnsubscribeChanges0 : changeHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmConnectionUnsubscribe0 : eventsHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmEngineClose0 : engineHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmFilterDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmFilterUnsubscribeChanges0 : changeHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmLayerDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmNetEventDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmNetEventUnsubscribe0 : eventsHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmProviderContextDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmProviderContextUnsubscribeChanges0 : changeHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmProviderDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmProviderUnsubscribeChanges0 : changeHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmSessionDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmSubLayerDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmSubLayerUnsubscribeChanges0 : changeHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmSystemPortsUnsubscribe0 : sysPortsHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.FwpmvSwitchEventUnsubscribe0 : subscriptionHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.IkeextSaDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.IPsecDospStateDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.IPsecSaContextDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.IPsecSaContextUnsubscribe0 : eventsHandle : [In] => [In,Out]
|
||||
Windows.Win32.NetworkManagement.WindowsFilteringPlatform.Apis.IPsecSaDestroyEnumHandle0 : enumHandle : [In] => [In,Out]
|
||||
Windows.Win32.Security.Authorization.Apis.AuthzFreeHandle : hAccessCheckResults : [In] => [In,Out]
|
||||
Windows.Win32.Security.Authorization.Apis.AuthzReportSecurityEvent : hEventProvider : [In] => [In,Out]
|
||||
Windows.Win32.Security.Authorization.Apis.AuthzReportSecurityEventFromParams : hEventProvider : [In] => [In,Out]
|
||||
Windows.Win32.Security.Authorization.AUTHZ_ACCESS_CHECK_RESULTS_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.Authorization.AUTHZ_AUDIT_EVENT_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.Authorization.AUTHZ_AUDIT_EVENT_TYPE_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.Authorization.AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.Authorization.AUTHZ_CLIENT_CONTEXT_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.Authorization.AUTHZ_RESOURCE_MANAGER_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.Authorization.AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.DiagnosticDataQuery.HDIAGNOSTIC_DATA_QUERY_SESSION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.DiagnosticDataQuery.HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.DiagnosticDataQuery.HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.DiagnosticDataQuery.HDIAGNOSTIC_EVENT_TAG_DESCRIPTION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.DiagnosticDataQuery.HDIAGNOSTIC_RECORD.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.DiagnosticDataQuery.HDIAGNOSTIC_REPORT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.NCRYPT_DESCRIPTOR_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.NCRYPT_STREAM_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Security.SAFER_LEVEL_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.Compression.COMPRESSOR_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.Compression.DECOMPRESSOR_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.FileHistory.FH_SERVICE_PIPE_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.FileSystem.Apis.FindClose : hFindFile : [In] => [In,Out]
|
||||
Windows.Win32.Storage.FileSystem.Apis.FindNextVolumeA : hFindVolume : [In] => [In,Out]
|
||||
Windows.Win32.Storage.FileSystem.Apis.FindNextVolumeW : hFindVolume : [In] => [In,Out]
|
||||
Windows.Win32.Storage.FileSystem.HIORING.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.Packaging.Appx.PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.Packaging.Appx.PACKAGEDEPENDENCY_CONTEXT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.ProjectedFileSystem.PRJ_DIR_ENTRY_BUFFER_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.Storage.ProjectedFileSystem.PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Antimalware.HAMSICONTEXT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Antimalware.HAMSISESSION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.ApplicationInstallationAndServicing.Apis.ActivateActCtx : hActCtx : [In,Optional] => [In,Optional,Out]
|
||||
Windows.Win32.System.ApplicationInstallationAndServicing.Apis.AddRefActCtx : hActCtx : [In] => [In,Out]
|
||||
Windows.Win32.System.ApplicationInstallationAndServicing.Apis.ReleaseActCtx : hActCtx : [In] => [In,Out]
|
||||
Windows.Win32.System.ApplicationInstallationAndServicing.Apis.ZombifyActCtx : hActCtx : [In] => [In,Out]
|
||||
Windows.Win32.System.Com.CO_DEVICE_CATALOG_COOKIE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Com.CO_MTA_USAGE_COOKIE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Com.MachineGlobalObjectTableRegistrationToken.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.DataExchange.HCONV.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.DataExchange.HCONVLIST.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.DataExchange.HDDEDATA.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.DataExchange.HSZ.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.DeploymentServices.Apis.WdsCliAuthorizeSession : hSession : [In] => [In,Out]
|
||||
Windows.Win32.System.Diagnostics.ProcessSnapshotting.HPSS.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Diagnostics.ProcessSnapshotting.HPSSWALK.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.ErrorReporting.HREPORT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.ErrorReporting.HREPORTSTORE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.HostCompute.HCS_CALLBACK.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.HostComputeSystem.HCS_OPERATION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.HostComputeSystem.HCS_PROCESS.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.HostComputeSystem.HCS_SYSTEM.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Memory.Apis.HeapFree : hHeap : [In] => [In,Out]
|
||||
Windows.Win32.System.Memory.Apis.HeapReAlloc : hHeap : [In] => [In,Out]
|
||||
Windows.Win32.System.Registry.HKEY.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Services.SC_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Services.SERVICE_STATUS_HANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.StationsAndDesktops.HDESK.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.StationsAndDesktops.HWINSTA.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.Threading.Apis.ChangeTimerQueueTimer : Timer : [In] => [In,Out]
|
||||
Windows.Win32.System.WindowsProgramming.FEATURE_STATE_CHANGE_SUBSCRIPTION.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.WindowsProgramming.HWINWATCH.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.WinRT.APARTMENT_SHUTDOWN_REGISTRATION_COOKIE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.WinRT.HSTRING_BUFFER.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.WinRT.HSTRING.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.WinRT.Metadata.ROPARAMIIDHANDLE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.System.WinRT.Xaml.TrackerHandle.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Accessibility.HUIAEVENT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Accessibility.HUIANODE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Accessibility.HUIAPATTERNOBJECT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Accessibility.HUIATEXTRANGE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Accessibility.HWINEVENTHOOK.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.ColorSystem.HCOLORSPACE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Controls.HPROPSHEETPAGE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Controls.HSYNTHETICPOINTERDEVICE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.HiDpi.DPI_AWARENESS_CONTEXT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Input.HRAWINPUT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Input.Ime.HIMC.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Input.Ime.HIMCC.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Input.KeyboardAndMouse.HKL.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Input.Touch.HGESTUREINFO.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Input.Touch.HTOUCHINPUT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.InteractionContext.HINTERACTIONCONTEXT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Shell.HDROP.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.Shell.HPSXA.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.TabletPC.HRECOALT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.TabletPC.HRECOCONTEXT.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.TabletPC.HRECOGNIZER.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.TabletPC.HRECOLATTICE.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.TabletPC.HRECOWORDLIST.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.WindowsAndMessaging.HACCEL.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.WindowsAndMessaging.HCURSOR.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.WindowsAndMessaging.HDWP.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.WindowsAndMessaging.HHOOK.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.WindowsAndMessaging.HICON.Value...System.IntPtr => System.Void*
|
||||
Windows.Win32.UI.WindowsAndMessaging.HMENU.Value...System.IntPtr => System.Void*
|
||||
|
|
|
@ -22,7 +22,13 @@ using Windows.Win32.Foundation.Metadata;
|
|||
{
|
||||
string safety = item.ValueType.Contains("*") ? "unsafe " : string.Empty;
|
||||
var valueType = item.ValueType;
|
||||
if (valueType == "DECLARE_HANDLE" || valueType == "AllJoynHandle")
|
||||
if (valueType == "DECLARE_HANDLE")
|
||||
{
|
||||
safety = "unsafe ";
|
||||
valueType = "void*";
|
||||
item.NativeTypedef = true;
|
||||
}
|
||||
else if (valueType == "AllJoynHandle")
|
||||
{
|
||||
valueType = "IntPtr";
|
||||
item.NativeTypedef = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче