#[repr(C)]
pub struct DDHALINFO {
Show 18 fields pub dwSize: u32, pub lpDDCallbacks: *mut DDHAL_DDCALLBACKS, pub lpDDSurfaceCallbacks: *mut DDHAL_DDSURFACECALLBACKS, pub lpDDPaletteCallbacks: *mut DDHAL_DDPALETTECALLBACKS, pub vmiData: VIDMEMINFO, pub ddCaps: DDCORECAPS, pub dwMonitorFrequency: u32, pub GetDriverInfo: LPDDHAL_GETDRIVERINFO, pub dwModeIndex: u32, pub lpdwFourCC: *mut u32, pub dwNumModes: u32, pub lpModeInfo: *mut DDHALMODEINFO, pub dwFlags: u32, pub lpPDevice: *mut c_void, pub hInstance: u32, pub lpD3DGlobalDriverData: usize, pub lpD3DHALCallbacks: usize, pub lpDDExeBufCallbacks: *mut DDHAL_DDEXEBUFCALLBACKS,
}
Expand description

Required features: ‘Win32_Graphics_DirectDraw’, ‘Win32_Foundation’, ‘Win32_Graphics_Gdi’

Fields

dwSize: u32lpDDCallbacks: *mut DDHAL_DDCALLBACKSlpDDSurfaceCallbacks: *mut DDHAL_DDSURFACECALLBACKSlpDDPaletteCallbacks: *mut DDHAL_DDPALETTECALLBACKSvmiData: VIDMEMINFOddCaps: DDCORECAPSdwMonitorFrequency: u32GetDriverInfo: LPDDHAL_GETDRIVERINFOdwModeIndex: u32lpdwFourCC: *mut u32dwNumModes: u32lpModeInfo: *mut DDHALMODEINFOdwFlags: u32lpPDevice: *mut c_voidhInstance: u32lpD3DGlobalDriverData: usizelpD3DHALCallbacks: usizelpDDExeBufCallbacks: *mut DDHAL_DDEXEBUFCALLBACKS

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.