Struct windows::Win32::Graphics::DirectDraw::DDRAWI_DIRECTDRAW_GBL

#[repr(C)]
pub struct DDRAWI_DIRECTDRAW_GBL {
Show 70 fields pub dwRefCnt: u32, pub dwFlags: u32, pub fpPrimaryOrig: usize, pub ddCaps: DDCORECAPS, pub dwInternal1: u32, pub dwUnused1: [u32; 9], pub lpDDCBtmp: *mut DDHAL_CALLBACKS, pub dsList: *mut DDRAWI_DDRAWSURFACE_INT, pub palList: *mut DDRAWI_DDRAWPALETTE_INT, pub clipperList: *mut DDRAWI_DDRAWCLIPPER_INT, pub lp16DD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwMaxOverlays: u32, pub dwCurrOverlays: u32, pub dwMonitorFrequency: u32, pub ddHELCaps: DDCORECAPS, pub dwUnused2: [u32; 50], pub ddckCKDestOverlay: DDCOLORKEY, pub ddckCKSrcOverlay: DDCOLORKEY, pub vmiData: VIDMEMINFO, pub lpDriverHandle: *mut c_void, pub lpExclusiveOwner: *mut DDRAWI_DIRECTDRAW_LCL, pub dwModeIndex: u32, pub dwModeIndexOrig: u32, pub dwNumFourCC: u32, pub lpdwFourCC: *mut u32, pub dwNumModes: u32, pub lpModeInfo: *mut DDHALMODEINFO, pub plProcessList: PROCESS_LIST, pub dwSurfaceLockCount: u32, pub dwAliasedLockCnt: u32, pub dwReserved3: usize, pub hDD: usize, pub cObsolete: [i8; 12], pub dwReserved1: u32, pub dwReserved2: u32, pub dbnOverlayRoot: DBLNODE, pub lpwPDeviceFlags: *mut u16, pub dwPDevice: u32, pub dwWin16LockCnt: u32, pub dwUnused3: u32, pub hInstance: u32, pub dwEvent16: u32, pub dwSaveNumModes: u32, pub lpD3DGlobalDriverData: usize, pub lpD3DHALCallbacks: usize, pub ddBothCaps: DDCORECAPS, pub lpDDVideoPortCaps: *mut DDVIDEOPORTCAPS, pub dvpList: *mut DDRAWI_DDVIDEOPORT_INT, pub lpD3DHALCallbacks2: usize, pub rectDevice: RECT, pub cMonitors: u32, pub gpbmiSrc: *mut c_void, pub gpbmiDest: *mut c_void, pub phaiHeapAliases: *mut HEAPALIASINFO, pub hKernelHandle: usize, pub pfnNotifyProc: usize, pub lpDDKernelCaps: *mut DDKERNELCAPS, pub lpddNLVCaps: *mut DDNONLOCALVIDMEMCAPS, pub lpddNLVHELCaps: *mut DDNONLOCALVIDMEMCAPS, pub lpddNLVBothCaps: *mut DDNONLOCALVIDMEMCAPS, pub lpD3DExtendedCaps: usize, pub dwDOSBoxEvent: u32, pub rectDesktop: RECT, pub cDriverName: [i8; 32], pub lpD3DHALCallbacks3: usize, pub dwNumZPixelFormats: u32, pub lpZPixelFormats: *mut DDPIXELFORMAT, pub mcList: *mut DDRAWI_DDMOTIONCOMP_INT, pub hDDVxd: u32, pub ddsCapsMore: DDSCAPSEX,
}

Fields§

§dwRefCnt: u32§dwFlags: u32§fpPrimaryOrig: usize§ddCaps: DDCORECAPS§dwInternal1: u32§dwUnused1: [u32; 9]§lpDDCBtmp: *mut DDHAL_CALLBACKS§dsList: *mut DDRAWI_DDRAWSURFACE_INT§palList: *mut DDRAWI_DDRAWPALETTE_INT§clipperList: *mut DDRAWI_DDRAWCLIPPER_INT§lp16DD: *mut DDRAWI_DIRECTDRAW_GBL§dwMaxOverlays: u32§dwCurrOverlays: u32§dwMonitorFrequency: u32§ddHELCaps: DDCORECAPS§dwUnused2: [u32; 50]§ddckCKDestOverlay: DDCOLORKEY§ddckCKSrcOverlay: DDCOLORKEY§vmiData: VIDMEMINFO§lpDriverHandle: *mut c_void§lpExclusiveOwner: *mut DDRAWI_DIRECTDRAW_LCL§dwModeIndex: u32§dwModeIndexOrig: u32§dwNumFourCC: u32§lpdwFourCC: *mut u32§dwNumModes: u32§lpModeInfo: *mut DDHALMODEINFO§plProcessList: PROCESS_LIST§dwSurfaceLockCount: u32§dwAliasedLockCnt: u32§dwReserved3: usize§hDD: usize§cObsolete: [i8; 12]§dwReserved1: u32§dwReserved2: u32§dbnOverlayRoot: DBLNODE§lpwPDeviceFlags: *mut u16§dwPDevice: u32§dwWin16LockCnt: u32§dwUnused3: u32§hInstance: u32§dwEvent16: u32§dwSaveNumModes: u32§lpD3DGlobalDriverData: usize§lpD3DHALCallbacks: usize§ddBothCaps: DDCORECAPS§lpDDVideoPortCaps: *mut DDVIDEOPORTCAPS§dvpList: *mut DDRAWI_DDVIDEOPORT_INT§lpD3DHALCallbacks2: usize§rectDevice: RECT§cMonitors: u32§gpbmiSrc: *mut c_void§gpbmiDest: *mut c_void§phaiHeapAliases: *mut HEAPALIASINFO§hKernelHandle: usize§pfnNotifyProc: usize§lpDDKernelCaps: *mut DDKERNELCAPS§lpddNLVCaps: *mut DDNONLOCALVIDMEMCAPS§lpddNLVHELCaps: *mut DDNONLOCALVIDMEMCAPS§lpddNLVBothCaps: *mut DDNONLOCALVIDMEMCAPS§lpD3DExtendedCaps: usize§dwDOSBoxEvent: u32§rectDesktop: RECT§cDriverName: [i8; 32]§lpD3DHALCallbacks3: usize§dwNumZPixelFormats: u32§lpZPixelFormats: *mut DDPIXELFORMAT§mcList: *mut DDRAWI_DDMOTIONCOMP_INT§hDDVxd: u32§ddsCapsMore: DDSCAPSEX

Trait Implementations§

§

impl Clone for DDRAWI_DIRECTDRAW_GBL

§

fn clone(&self) -> DDRAWI_DIRECTDRAW_GBL

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for DDRAWI_DIRECTDRAW_GBL

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl Copy for DDRAWI_DIRECTDRAW_GBL

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.