@@ -5,7 +5,7 @@ windows_targets::link!("gdi32.dll" "system" fn D3DKMTCancelPresents(param0 : *co
5
5
#[ cfg( feature = "Win32_Graphics_Gdi" ) ]
6
6
windows_targets:: link!( "gdi32.dll" "system" fn D3DKMTChangeSurfacePointer ( param0 : * const D3DKMT_CHANGESURFACEPOINTER ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS ) ;
7
7
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 ) ;
9
9
windows_targets:: link!( "gdi32.dll" "system" fn D3DKMTCheckMonitorPowerState ( param0 : * const D3DKMT_CHECKMONITORPOWERSTATE ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS ) ;
10
10
windows_targets:: link!( "gdi32.dll" "system" fn D3DKMTCheckMultiPlaneOverlaySupport ( param0 : * mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS ) ;
11
11
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 {
2258
2258
pub VideoOutputTechnology : D3DKMDT_VIDEO_OUTPUT_TECHNOLOGY ,
2259
2259
pub VideoOutputHpdAwareness : DXGK_CHILD_DEVICE_HPD_AWARENESS ,
2260
2260
pub MonitorOrientationAwareness : D3DKMDT_MONITOR_ORIENTATION_AWARENESS ,
2261
- pub SupportsSdtvModes : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
2261
+ pub SupportsSdtvModes : bool ,
2262
2262
}
2263
2263
#[ repr( C ) ]
2264
2264
#[ derive( Clone , Copy ) ]
@@ -2647,7 +2647,7 @@ pub const D3DKMT_AllocationPriorityClassNormal: D3DKMT_QUERYSTATISTICS_ALLOCATIO
2647
2647
#[ repr( C ) ]
2648
2648
#[ derive( Clone , Copy ) ]
2649
2649
pub struct D3DKMT_BDDFALLBACK_CTL {
2650
- pub ForceBddHeadlessNextFallback : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
2650
+ pub ForceBddHeadlessNextFallback : bool ,
2651
2651
}
2652
2652
#[ repr( C ) ]
2653
2653
#[ derive( Clone , Copy ) ]
@@ -2679,7 +2679,7 @@ pub union D3DKMT_BRIGHTNESS_INFO_0 {
2679
2679
pub BrightnessState : DXGK_BRIGHTNESS_STATE ,
2680
2680
pub OptimizationLevel : DXGK_BACKLIGHT_OPTIMIZATION_LEVEL ,
2681
2681
pub ReductionInfo : DXGK_BACKLIGHT_INFO ,
2682
- pub VerboseLogging : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
2682
+ pub VerboseLogging : bool ,
2683
2683
pub NitRanges : DXGK_BRIGHTNESS_GET_NIT_RANGES_OUT ,
2684
2684
pub GetBrightnessMillinits : DXGK_BRIGHTNESS_GET_OUT ,
2685
2685
pub SetBrightnessMillinits : DXGK_BRIGHTNESS_SET_IN ,
@@ -2892,9 +2892,9 @@ pub struct D3DKMT_COMPOSITION_PRESENTHISTORYTOKEN {
2892
2892
pub struct D3DKMT_CONFIGURESHAREDRESOURCE {
2893
2893
pub hDevice : u32 ,
2894
2894
pub hResource : u32 ,
2895
- pub IsDwm : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
2895
+ pub IsDwm : bool ,
2896
2896
pub hProcess : super :: super :: super :: Win32 :: Foundation :: HANDLE ,
2897
- pub AllowAccess : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
2897
+ pub AllowAccess : bool ,
2898
2898
}
2899
2899
#[ repr( C ) ]
2900
2900
#[ derive( Clone , Copy ) ]
@@ -3338,7 +3338,7 @@ pub struct D3DKMT_DEVICEPAGEFAULT_STATE {
3338
3338
#[ derive( Clone , Copy ) ]
3339
3339
pub struct D3DKMT_DEVICEPRESENT_QUEUE_STATE {
3340
3340
pub VidPnSourceId : u32 ,
3341
- pub bQueuedPresentLimitReached : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3341
+ pub bQueuedPresentLimitReached : bool ,
3342
3342
}
3343
3343
#[ repr( C ) ]
3344
3344
#[ derive( Clone , Copy ) ]
@@ -3602,7 +3602,7 @@ pub const D3DKMT_ESCAPE_VIDSCH: D3DKMT_ESCAPETYPE = 3i32;
3602
3602
pub struct D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE {
3603
3603
pub Type : D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE_TYPE ,
3604
3604
pub VidPnSourceId : u32 ,
3605
- pub ProcessBoostEligible : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3605
+ pub ProcessBoostEligible : bool ,
3606
3606
pub VSyncMultiplier : u32 ,
3607
3607
pub BaseDesktopDuration : u32 ,
3608
3608
pub Reserved : [ u8 ; 16 ] ,
@@ -3878,7 +3878,7 @@ pub struct D3DKMT_GETMULTISAMPLEMETHODLIST {
3878
3878
pub struct D3DKMT_GETOVERLAYSTATE {
3879
3879
pub hDevice : u32 ,
3880
3880
pub hOverlay : u32 ,
3881
- pub OverlayEnabled : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3881
+ pub OverlayEnabled : bool ,
3882
3882
}
3883
3883
#[ repr( C ) ]
3884
3884
#[ derive( Clone , Copy ) ]
@@ -3895,7 +3895,7 @@ pub const D3DKMT_GETPRESENTHISTORY_MAXTOKENS: u32 = 2048u32;
3895
3895
pub struct D3DKMT_GETPROCESSDEVICEREMOVALSUPPORT {
3896
3896
pub hProcess : super :: super :: super :: Win32 :: Foundation :: HANDLE ,
3897
3897
pub AdapterLuid : super :: super :: super :: Win32 :: Foundation :: LUID ,
3898
- pub Support : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3898
+ pub Support : bool ,
3899
3899
}
3900
3900
#[ repr( C ) ]
3901
3901
#[ derive( Clone , Copy ) ]
@@ -3910,7 +3910,7 @@ pub struct D3DKMT_GETRUNTIMEDATA {
3910
3910
pub struct D3DKMT_GETSCANLINE {
3911
3911
pub hAdapter : u32 ,
3912
3912
pub VidPnSourceId : u32 ,
3913
- pub InVerticalBlank : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3913
+ pub InVerticalBlank : bool ,
3914
3914
pub ScanLine : u32 ,
3915
3915
}
3916
3916
#[ repr( C ) ]
@@ -3939,7 +3939,7 @@ pub struct D3DKMT_GETVERTICALBLANKEVENT {
3939
3939
#[ derive( Clone , Copy ) ]
3940
3940
pub struct D3DKMT_GET_DEVICE_VIDPN_OWNERSHIP_INFO {
3941
3941
pub hDevice : u32 ,
3942
- pub bFailedDwmAcquireVidPn : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3942
+ pub bFailedDwmAcquireVidPn : bool ,
3943
3943
}
3944
3944
#[ repr( C ) ]
3945
3945
#[ derive( Clone , Copy ) ]
@@ -3973,7 +3973,7 @@ pub struct D3DKMT_GET_PTE {
3973
3973
pub PhysicalAdapterIndex : u32 ,
3974
3974
pub PageTableLevel : u32 ,
3975
3975
pub PageTableIndex : [ u32 ; 6 ] ,
3976
- pub b64KBPte : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
3976
+ pub b64KBPte : bool ,
3977
3977
pub NumPtes : u32 ,
3978
3978
pub Pte : [ DXGK_PTE ; 64 ] ,
3979
3979
pub NumValidEntries : u32 ,
@@ -4025,13 +4025,13 @@ pub const D3DKMT_GPU_PREFERENCE_TYPE_USER_PREFERENCE: D3DKMT_GPU_PREFERENCE_QUER
4025
4025
#[ repr( C ) ]
4026
4026
#[ derive( Clone , Copy ) ]
4027
4027
pub struct D3DKMT_HISTORY_BUFFER_STATUS {
4028
- pub Enabled : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
4028
+ pub Enabled : bool ,
4029
4029
pub Reserved : u32 ,
4030
4030
}
4031
4031
#[ repr( C ) ]
4032
4032
#[ derive( Clone , Copy ) ]
4033
4033
pub struct D3DKMT_HWDRM_SUPPORT {
4034
- pub Supported : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
4034
+ pub Supported : bool ,
4035
4035
}
4036
4036
#[ repr( C ) ]
4037
4037
#[ derive( Clone , Copy ) ]
@@ -4149,9 +4149,9 @@ pub const D3DKMT_MIRACAST_DEVICE_STATUS_UNKOWN_PAIRING: D3DKMT_MIRACAST_DEVICE_S
4149
4149
#[ repr( C ) ]
4150
4150
#[ derive( Clone , Copy ) ]
4151
4151
pub struct D3DKMT_MIRACAST_DISPLAY_DEVICE_CAPS {
4152
- pub HdcpSupported : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
4152
+ pub HdcpSupported : bool ,
4153
4153
pub DefaultControlPort : u32 ,
4154
- pub UsesIhvSolution : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
4154
+ pub UsesIhvSolution : bool ,
4155
4155
}
4156
4156
pub type D3DKMT_MIRACAST_DISPLAY_DEVICE_STATE = i32 ;
4157
4157
#[ repr( C ) ]
@@ -4776,7 +4776,7 @@ pub struct D3DKMT_PANELFITTER_SUPPORT {
4776
4776
#[ repr( C ) ]
4777
4777
#[ derive( Clone , Copy ) ]
4778
4778
pub struct D3DKMT_PARAVIRTUALIZATION {
4779
- pub SecureContainer : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
4779
+ pub SecureContainer : bool ,
4780
4780
}
4781
4781
#[ repr( C ) ]
4782
4782
#[ derive( Clone , Copy ) ]
@@ -4868,7 +4868,7 @@ pub struct D3DKMT_PRESENT {
4868
4868
pub BroadcastDstAllocation : * mut u32 ,
4869
4869
pub PrivateDriverDataSize : u32 ,
4870
4870
pub pPrivateDriverData : * mut core:: ffi:: c_void ,
4871
- pub bOptimizeForComposition : super :: super :: super :: Win32 :: Foundation :: BOOLEAN ,
4871
+ pub bOptimizeForComposition : bool ,
4872
4872
}
4873
4873
#[ repr( C ) ]
4874
4874
#[ derive( Clone , Copy ) ]
@@ -5916,8 +5916,8 @@ pub struct D3DKMT_SEGMENT_CAPS {
5916
5916
pub Size : u64 ,
5917
5917
pub PageSize : u32 ,
5918
5918
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 ,
5921
5921
pub BudgetGroup : D3DKMT_MEMORY_SEGMENT_GROUP ,
5922
5922
}
5923
5923
#[ repr( C ) ]
@@ -8428,13 +8428,13 @@ pub const DXGK_ENGINE_TYPE_VIDEO_PROCESSING: DXGK_ENGINE_TYPE = 4i32;
8428
8428
#[ repr( C ) ]
8429
8429
#[ derive( Clone , Copy ) ]
8430
8430
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 ,
8438
8438
pub VirtualAddressBitCount : u32 ,
8439
8439
pub PageTableLevelCount : u32 ,
8440
8440
pub PageTableLevelDesk : [ D3DKMT_PAGE_TABLE_LEVEL_DESC ; 6 ] ,
@@ -8576,8 +8576,8 @@ pub struct DXGK_NODEMETADATA {
8576
8576
pub EngineType : DXGK_ENGINE_TYPE ,
8577
8577
pub FriendlyName : [ u16 ; 32 ] ,
8578
8578
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 ,
8581
8581
}
8582
8582
#[ repr( C ) ]
8583
8583
#[ derive( Clone , Copy ) ]
@@ -8821,13 +8821,13 @@ pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_ACTIVE: OUTPUTDUPL_CONTEXT_DEBUG_STATU
8821
8821
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_INACTIVE : OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 0i32 ;
8822
8822
pub const OUTPUTDUPL_CONTEXT_DEBUG_STATUS_PENDING_DESTROY : OUTPUTDUPL_CONTEXT_DEBUG_STATUS = 2i32 ;
8823
8823
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 ) > ;
8825
8825
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 ) > ;
8827
8827
#[ 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 ) > ;
8829
8829
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 > ;
8831
8831
pub type PFND3DKMT_ACQUIREKEYEDMUTEX = Option < unsafe extern "system" fn ( param0 : * mut D3DKMT_ACQUIREKEYEDMUTEX ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS > ;
8832
8832
pub type PFND3DKMT_ACQUIREKEYEDMUTEX2 = Option < unsafe extern "system" fn ( param0 : * mut D3DKMT_ACQUIREKEYEDMUTEX2 ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS > ;
8833
8833
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
8836
8836
#[ cfg( feature = "Win32_Graphics_Gdi" ) ]
8837
8837
pub type PFND3DKMT_CHANGESURFACEPOINTER = Option < unsafe extern "system" fn ( param0 : * const D3DKMT_CHANGESURFACEPOINTER ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS > ;
8838
8838
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 > ;
8840
8840
pub type PFND3DKMT_CHECKMONITORPOWERSTATE = Option < unsafe extern "system" fn ( param0 : * const D3DKMT_CHECKMONITORPOWERSTATE ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS > ;
8841
8841
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT = Option < unsafe extern "system" fn ( param0 : * mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS > ;
8842
8842
pub type PFND3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 = Option < unsafe extern "system" fn ( param0 : * mut D3DKMT_CHECKMULTIPLANEOVERLAYSUPPORT2 ) -> super :: super :: super :: Win32 :: Foundation :: NTSTATUS > ;
0 commit comments