Skip to content

Commit 2291719

Browse files
authored
Remap BOOLEAN to bool (#3376)
1 parent 1332b65 commit 2291719

File tree

141 files changed

+3942
-4041
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+3942
-4041
lines changed

crates/libs/bindgen/src/types/cpp_const.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,17 @@ impl CppConst {
8484
value = format!("0x{:X}_u32 as _", signed).into();
8585
}
8686
}
87+
} else if field_ty == Type::Bool {
88+
value = match constant.value() {
89+
Value::U8(1) => quote! { true },
90+
Value::U8(0) => quote! { false },
91+
_ => panic!(),
92+
};
8793
} else {
8894
value = quote! { #value as _ };
8995
}
9096

91-
if writer.config.sys {
97+
if writer.config.sys || field_ty == Type::Bool {
9298
quote! {
9399
#cfg
94100
pub const #name: #ty = #value;

crates/libs/bindgen/src/types/cpp_method.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ impl CppMethod {
162162
|| param.has_attribute("ReservedAttribute"))
163163
{
164164
*hint = ParamHint::Optional;
165-
} else if !flags.contains(ParamAttributes::Out)
166-
&& matches!(ty.type_name(), TypeName::BOOL | TypeName::BOOLEAN)
165+
} else if !flags.contains(ParamAttributes::Out) && ty.type_name() == TypeName::BOOL
167166
{
168167
*hint = ParamHint::Bool;
169168
} else if ty.is_primitive() && (!ty.is_pointer() || ty.deref().is_copyable()) {

crates/libs/bindgen/src/types/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ impl Type {
166166
TypeName::BSTR => Remap::Type(Self::BSTR),
167167
TypeName::IInspectable => Remap::Type(Self::Object),
168168
TypeName::CHAR => Remap::Type(Self::I8),
169+
TypeName::BOOLEAN => Remap::Type(Self::Bool),
169170
TypeName::IUnknown => Remap::Type(Self::IUnknown),
170171
TypeName::Type => Remap::Type(Self::Type),
171172

crates/libs/sys/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
windows_targets::link!("vhfum.dll" "system" fn VhfAsyncOperationComplete(vhfoperationhandle : *const core::ffi::c_void, completionstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
22
windows_targets::link!("vhfum.dll" "system" fn VhfCreate(vhfconfig : *const VHF_CONFIG, vhfhandle : *mut *mut core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
3-
windows_targets::link!("vhfum.dll" "system" fn VhfDelete(vhfhandle : *const core::ffi::c_void, wait : super::super::super::Win32::Foundation:: BOOLEAN));
3+
windows_targets::link!("vhfum.dll" "system" fn VhfDelete(vhfhandle : *const core::ffi::c_void, wait : bool));
44
windows_targets::link!("vhfum.dll" "system" fn VhfReadReportSubmit(vhfhandle : *const core::ffi::c_void, hidtransferpacket : *const HID_XFER_PACKET) -> super::super::super::Win32::Foundation:: NTSTATUS);
55
windows_targets::link!("vhfum.dll" "system" fn VhfStart(vhfhandle : *const core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
66
pub type EVT_VHF_ASYNC_OPERATION = Option<unsafe extern "system" fn(vhfclientcontext: *const core::ffi::c_void, vhfoperationhandle: *const core::ffi::c_void, vhfoperationcontext: *const core::ffi::c_void, hidtransferpacket: *const HID_XFER_PACKET)>;

crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs

Lines changed: 43 additions & 43 deletions
Large diffs are not rendered by default.

crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ windows_targets::link!("gdi32.dll" "system" fn D3DKMTCancelPresents(param0 : *co
55
#[cfg(feature = "Win32_Graphics_Gdi")]
66
windows_targets::link!("gdi32.dll" "system" fn D3DKMTChangeSurfacePointer(param0 : *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation:: NTSTATUS);
77
windows_targets::link!("gdi32.dll" "system" fn D3DKMTChangeVideoMemoryReservation(param0 : *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
8-
windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckExclusiveOwnership() -> super::super::super::Win32::Foundation:: BOOLEAN);
8+
windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckExclusiveOwnership() -> bool);
99
windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMonitorPowerState(param0 : *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
1010
windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation:: NTSTATUS);
1111
windows_targets::link!("gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport2(param0 : *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation:: NTSTATUS);
@@ -2258,7 +2258,7 @@ pub struct D3DKMDT_VIDEO_PRESENT_TARGET {
22582258
pub VideoOutputTechnology: D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY,
22592259
pub VideoOutputHpdAwareness: DXGK_CHILD_DEVICE_HPD_AWARENESS,
22602260
pub MonitorOrientationAwareness: D3DKMDT_MONITOR_ORIENTATION_AWARENESS,
2261-
pub SupportsSdtvModes: super::super::super::Win32::Foundation::BOOLEAN,
2261+
pub SupportsSdtvModes: bool,
22622262
}
22632263
#[repr(C)]
22642264
#[derive(Clone, Copy)]
@@ -2647,7 +2647,7 @@ pub const D3DKMT_AllocationPriorityClassNormal: D3DKMT_QUERYSTATISTICS_ALLOCATIO
26472647
#[repr(C)]
26482648
#[derive(Clone, Copy)]
26492649
pub struct D3DKMT_BDDFALLBACK_CTL {
2650-
pub ForceBddHeadlessNextFallback: super::super::super::Win32::Foundation::BOOLEAN,
2650+
pub ForceBddHeadlessNextFallback: bool,
26512651
}
26522652
#[repr(C)]
26532653
#[derive(Clone, Copy)]
@@ -2679,7 +2679,7 @@ pub union D3DKMT_BRIGHTNESS_INFO_0 {
26792679
pub BrightnessState: DXGK_BRIGHTNESS_STATE,
26802680
pub OptimizationLevel: DXGK_BACKLIGHT_OPTIMIZATION_LEVEL,
26812681
pub ReductionInfo: DXGK_BACKLIGHT_INFO,
2682-
pub VerboseLogging: super::super::super::Win32::Foundation::BOOLEAN,
2682+
pub VerboseLogging: bool,
26832683
pub NitRanges: DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT,
26842684
pub GetBrightnessMillinits: DXGK_BRIGHTNESS_GET_OUT,
26852685
pub SetBrightnessMillinits: DXGK_BRIGHTNESS_SET_IN,
@@ -2892,9 +2892,9 @@ pub struct D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
28922892
pub struct D3DKMT_CONFIGURESHAREDRESOURCE {
28932893
pub hDevice: u32,
28942894
pub hResource: u32,
2895-
pub IsDwm: super::super::super::Win32::Foundation::BOOLEAN,
2895+
pub IsDwm: bool,
28962896
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
2897-
pub AllowAccess: super::super::super::Win32::Foundation::BOOLEAN,
2897+
pub AllowAccess: bool,
28982898
}
28992899
#[repr(C)]
29002900
#[derive(Clone, Copy)]
@@ -3338,7 +3338,7 @@ pub struct D3DKMT_DEVICEPAGEFAULT_STATE {
33383338
#[derive(Clone, Copy)]
33393339
pub struct D3DKMT_DEVICEPRESENT_QUEUE_STATE {
33403340
pub VidPnSourceId: u32,
3341-
pub bQueuedPresentLimitReached: super::super::super::Win32::Foundation::BOOLEAN,
3341+
pub bQueuedPresentLimitReached: bool,
33423342
}
33433343
#[repr(C)]
33443344
#[derive(Clone, Copy)]
@@ -3602,7 +3602,7 @@ pub const D3DKMT_ESCAPE_VIDSCH: D3DKMT_ESCAPETYPE = 3i32;
36023602
pub struct D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
36033603
pub Type: D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE,
36043604
pub VidPnSourceId: u32,
3605-
pub ProcessBoostEligible: super::super::super::Win32::Foundation::BOOLEAN,
3605+
pub ProcessBoostEligible: bool,
36063606
pub VSyncMultiplier: u32,
36073607
pub BaseDesktopDuration: u32,
36083608
pub Reserved: [u8; 16],
@@ -3878,7 +3878,7 @@ pub struct D3DKMT_GETMULTISAMPLEMETHODLIST {
38783878
pub struct D3DKMT_GETOVERLAYSTATE {
38793879
pub hDevice: u32,
38803880
pub hOverlay: u32,
3881-
pub OverlayEnabled: super::super::super::Win32::Foundation::BOOLEAN,
3881+
pub OverlayEnabled: bool,
38823882
}
38833883
#[repr(C)]
38843884
#[derive(Clone, Copy)]
@@ -3895,7 +3895,7 @@ pub const D3DKMT_GETPRESENTHISTORY_MAXTOKENS: u32 = 2048u32;
38953895
pub struct D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
38963896
pub hProcess: super::super::super::Win32::Foundation::HANDLE,
38973897
pub AdapterLuid: super::super::super::Win32::Foundation::LUID,
3898-
pub Support: super::super::super::Win32::Foundation::BOOLEAN,
3898+
pub Support: bool,
38993899
}
39003900
#[repr(C)]
39013901
#[derive(Clone, Copy)]
@@ -3910,7 +3910,7 @@ pub struct D3DKMT_GETRUNTIMEDATA {
39103910
pub struct D3DKMT_GETSCANLINE {
39113911
pub hAdapter: u32,
39123912
pub VidPnSourceId: u32,
3913-
pub InVerticalBlank: super::super::super::Win32::Foundation::BOOLEAN,
3913+
pub InVerticalBlank: bool,
39143914
pub ScanLine: u32,
39153915
}
39163916
#[repr(C)]
@@ -3939,7 +3939,7 @@ pub struct D3DKMT_GETVERTICALBLANKEVENT {
39393939
#[derive(Clone, Copy)]
39403940
pub struct D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
39413941
pub hDevice: u32,
3942-
pub bFailedDwmAcquireVidPn: super::super::super::Win32::Foundation::BOOLEAN,
3942+
pub bFailedDwmAcquireVidPn: bool,
39433943
}
39443944
#[repr(C)]
39453945
#[derive(Clone, Copy)]
@@ -3973,7 +3973,7 @@ pub struct D3DKMT_GET_PTE {
39733973
pub PhysicalAdapterIndex: u32,
39743974
pub PageTableLevel: u32,
39753975
pub PageTableIndex: [u32; 6],
3976-
pub b64KBPte: super::super::super::Win32::Foundation::BOOLEAN,
3976+
pub b64KBPte: bool,
39773977
pub NumPtes: u32,
39783978
pub Pte: [DXGK_PTE; 64],
39793979
pub NumValidEntries: u32,
@@ -4025,13 +4025,13 @@ pub const D3DKMT_GPU_PREFERENCE_TYPE_USER_PREFERENCE: D3DKMT_GPU_PREFERENCE_QUER
40254025
#[repr(C)]
40264026
#[derive(Clone, Copy)]
40274027
pub struct D3DKMT_HISTORY_BUFFER_STATUS {
4028-
pub Enabled: super::super::super::Win32::Foundation::BOOLEAN,
4028+
pub Enabled: bool,
40294029
pub Reserved: u32,
40304030
}
40314031
#[repr(C)]
40324032
#[derive(Clone, Copy)]
40334033
pub struct D3DKMT_HWDRM_SUPPORT {
4034-
pub Supported: super::super::super::Win32::Foundation::BOOLEAN,
4034+
pub Supported: bool,
40354035
}
40364036
#[repr(C)]
40374037
#[derive(Clone, Copy)]
@@ -4149,9 +4149,9 @@ pub const D3DKMT_MIRACAST_DEVICE_STATUS_UNKOWN_PAIRING: D3DKMT_MIRACAST_DEVICE_S
41494149
#[repr(C)]
41504150
#[derive(Clone, Copy)]
41514151
pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
4152-
pub HdcpSupported: super::super::super::Win32::Foundation::BOOLEAN,
4152+
pub HdcpSupported: bool,
41534153
pub DefaultControlPort: u32,
4154-
pub UsesIhvSolution: super::super::super::Win32::Foundation::BOOLEAN,
4154+
pub UsesIhvSolution: bool,
41554155
}
41564156
pub type D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = i32;
41574157
#[repr(C)]
@@ -4776,7 +4776,7 @@ pub struct D3DKMT_PANELFITTER_SUPPORT {
47764776
#[repr(C)]
47774777
#[derive(Clone, Copy)]
47784778
pub struct D3DKMT_PARAVIRTUALIZATION {
4779-
pub SecureContainer: super::super::super::Win32::Foundation::BOOLEAN,
4779+
pub SecureContainer: bool,
47804780
}
47814781
#[repr(C)]
47824782
#[derive(Clone, Copy)]
@@ -4868,7 +4868,7 @@ pub struct D3DKMT_PRESENT {
48684868
pub BroadcastDstAllocation: *mut u32,
48694869
pub PrivateDriverDataSize: u32,
48704870
pub pPrivateDriverData: *mut core::ffi::c_void,
4871-
pub bOptimizeForComposition: super::super::super::Win32::Foundation::BOOLEAN,
4871+
pub bOptimizeForComposition: bool,
48724872
}
48734873
#[repr(C)]
48744874
#[derive(Clone, Copy)]
@@ -5916,8 +5916,8 @@ pub struct D3DKMT_SEGMENT_CAPS {
59165916
pub Size: u64,
59175917
pub PageSize: u32,
59185918
pub SegmentId: u32,
5919-
pub bAperture: super::super::super::Win32::Foundation::BOOLEAN,
5920-
pub bReservedSysMem: super::super::super::Win32::Foundation::BOOLEAN,
5919+
pub bAperture: bool,
5920+
pub bReservedSysMem: bool,
59215921
pub BudgetGroup: D3DKMT_MEMORY_SEGMENT_GROUP,
59225922
}
59235923
#[repr(C)]
@@ -8428,13 +8428,13 @@ pub const DXGK_ENGINE_TYPE_VIDEO_PROCESSING: DXGK_ENGINE_TYPE = 4i32;
84288428
#[repr(C)]
84298429
#[derive(Clone, Copy)]
84308430
pub struct DXGK_ESCAPE_GPUMMUCAPS {
8431-
pub ReadOnlyMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
8432-
pub NoExecuteMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
8433-
pub ZeroInPteSupported: super::super::super::Win32::Foundation::BOOLEAN,
8434-
pub CacheCoherentMemorySupported: super::super::super::Win32::Foundation::BOOLEAN,
8435-
pub LargePageSupported: super::super::super::Win32::Foundation::BOOLEAN,
8436-
pub DualPteSupported: super::super::super::Win32::Foundation::BOOLEAN,
8437-
pub AllowNonAlignedLargePageAddress: super::super::super::Win32::Foundation::BOOLEAN,
8431+
pub ReadOnlyMemorySupported: bool,
8432+
pub NoExecuteMemorySupported: bool,
8433+
pub ZeroInPteSupported: bool,
8434+
pub CacheCoherentMemorySupported: bool,
8435+
pub LargePageSupported: bool,
8436+
pub DualPteSupported: bool,
8437+
pub AllowNonAlignedLargePageAddress: bool,
84388438
pub VirtualAddressBitCount: u32,
84398439
pub PageTableLevelCount: u32,
84408440
pub PageTableLevelDesk: [D3DKMT_PAGE_TABLE_LEVEL_DESC; 6],
@@ -8576,8 +8576,8 @@ pub struct DXGK_NODEMETADATA {
85768576
pub EngineType: DXGK_ENGINE_TYPE,
85778577
pub FriendlyName: [u16; 32],
85788578
pub Flags: DXGK_NODEMETADATA_FLAGS,
8579-
pub GpuMmuSupported: super::super::super::Win32::Foundation::BOOLEAN,
8580-
pub IoMmuSupported: super::super::super::Win32::Foundation::BOOLEAN,
8579+
pub GpuMmuSupported: bool,
8580+
pub IoMmuSupported: bool,
85818581
}
85828582
#[repr(C)]
85838583
#[derive(Clone, Copy)]
@@ -8821,13 +8821,13 @@ pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_ACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATU
88218821
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_INACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 0i32;
88228822
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_PENDING_DESTROY: OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 2i32;
88238823
pub const OUTPUTDUPL_CREATE_MAX_KEYEDMUTXES: u32 = 3u32;
8824-
pub type PDXGK_FSTATE_NOTIFICATION = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, componentindex: u32, newfstate: u32, prenotification: super::super::super::Win32::Foundation::BOOLEAN, privatehandle: *mut core::ffi::c_void)>;
8824+
pub type PDXGK_FSTATE_NOTIFICATION = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, componentindex: u32, newfstate: u32, prenotification: bool, privatehandle: *mut core::ffi::c_void)>;
88258825
pub type PDXGK_GRAPHICSPOWER_UNREGISTER = Option<unsafe extern "system" fn(devicehandle: *mut core::ffi::c_void, privatehandle: *mut core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
8826-
pub type PDXGK_INITIAL_COMPONENT_STATE = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, privatehandle: *mut core::ffi::c_void, componentindex: u32, isblockingtype: super::super::super::Win32::Foundation::BOOLEAN, initialfstate: u32, componentguid: windows_sys::core::GUID, powercomponentmappingflag: u32)>;
8826+
pub type PDXGK_INITIAL_COMPONENT_STATE = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, privatehandle: *mut core::ffi::c_void, componentindex: u32, isblockingtype: bool, initialfstate: u32, componentguid: windows_sys::core::GUID, powercomponentmappingflag: u32)>;
88278827
#[cfg(feature = "Win32_System_Power")]
8828-
pub type PDXGK_POWER_NOTIFICATION = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, newgrfxpowerstate: super::super::super::Win32::System::Power::DEVICE_POWER_STATE, prenotification: super::super::super::Win32::Foundation::BOOLEAN, privatehandle: *mut core::ffi::c_void)>;
8828+
pub type PDXGK_POWER_NOTIFICATION = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, newgrfxpowerstate: super::super::super::Win32::System::Power::DEVICE_POWER_STATE, prenotification: bool, privatehandle: *mut core::ffi::c_void)>;
88298829
pub type PDXGK_REMOVAL_NOTIFICATION = Option<unsafe extern "system" fn(graphicsdevicehandle: *mut core::ffi::c_void, privatehandle: *mut core::ffi::c_void)>;
8830-
pub type PDXGK_SET_SHARED_POWER_COMPONENT_STATE = Option<unsafe extern "system" fn(devicehandle: *mut core::ffi::c_void, privatehandle: *mut core::ffi::c_void, componentindex: u32, active: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
8830+
pub type PDXGK_SET_SHARED_POWER_COMPONENT_STATE = Option<unsafe extern "system" fn(devicehandle: *mut core::ffi::c_void, privatehandle: *mut core::ffi::c_void, componentindex: u32, active: bool) -> super::super::super::Win32::Foundation::NTSTATUS>;
88318831
pub type PFND3DKMT_ACQUIREKEYEDMUTEX = Option<unsafe extern "system" fn(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX) -> super::super::super::Win32::Foundation::NTSTATUS>;
88328832
pub type PFND3DKMT_ACQUIREKEYEDMUTEX2 = Option<unsafe extern "system" fn(param0: *mut D3DKMT_ACQUIREKEYEDMUTEX2) -> super::super::super::Win32::Foundation::NTSTATUS>;
88338833
pub type PFND3DKMT_ADJUSTFULLSCREENGAMMA = Option<unsafe extern "system" fn(param0: *const D3DKMT_ADJUSTFULLSCREENGAMMA) -> super::super::super::Win32::Foundation::NTSTATUS>;
@@ -8836,7 +8836,7 @@ pub type PFND3DKMT_CANCELPRESENTS = Option<unsafe extern "system" fn(param0: *co
88368836
#[cfg(feature = "Win32_Graphics_Gdi")]
88378837
pub type PFND3DKMT_CHANGESURFACEPOINTER = Option<unsafe extern "system" fn(param0: *const D3DKMT_CHANGESURFACEPOINTER) -> super::super::super::Win32::Foundation::NTSTATUS>;
88388838
pub type PFND3DKMT_CHANGEVIDEOMEMORYRESERVATION = Option<unsafe extern "system" fn(param0: *const D3DKMT_CHANGEVIDEOMEMORYRESERVATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
8839-
pub type PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP = Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
8839+
pub type PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP = Option<unsafe extern "system" fn() -> bool>;
88408840
pub type PFND3DKMT_CHECKMONITORPOWERSTATE = Option<unsafe extern "system" fn(param0: *const D3DKMT_CHECKMONITORPOWERSTATE) -> super::super::super::Win32::Foundation::NTSTATUS>;
88418841
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT = Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT) -> super::super::super::Win32::Foundation::NTSTATUS>;
88428842
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 = Option<unsafe extern "system" fn(param0: *mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2) -> super::super::super::Win32::Foundation::NTSTATUS>;

0 commit comments

Comments
 (0)