#[repr(C)]
pub struct DDCAPS_DX1 {
Show 36 fields pub dwSize: u32, pub dwCaps: u32, pub dwCaps2: u32, pub dwCKeyCaps: u32, pub dwFXCaps: u32, pub dwFXAlphaCaps: u32, pub dwPalCaps: u32, pub dwSVCaps: u32, pub dwAlphaBltConstBitDepths: u32, pub dwAlphaBltPixelBitDepths: u32, pub dwAlphaBltSurfaceBitDepths: u32, pub dwAlphaOverlayConstBitDepths: u32, pub dwAlphaOverlayPixelBitDepths: u32, pub dwAlphaOverlaySurfaceBitDepths: u32, pub dwZBufferBitDepths: u32, pub dwVidMemTotal: u32, pub dwVidMemFree: u32, pub dwMaxVisibleOverlays: u32, pub dwCurrVisibleOverlays: u32, pub dwNumFourCCCodes: u32, pub dwAlignBoundarySrc: u32, pub dwAlignSizeSrc: u32, pub dwAlignBoundaryDest: u32, pub dwAlignSizeDest: u32, pub dwAlignStrideAlign: u32, pub dwRops: [u32; 8], pub ddsCaps: DDSCAPS, pub dwMinOverlayStretch: u32, pub dwMaxOverlayStretch: u32, pub dwMinLiveVideoStretch: u32, pub dwMaxLiveVideoStretch: u32, pub dwMinHwCodecStretch: u32, pub dwMaxHwCodecStretch: u32, pub dwReserved1: u32, pub dwReserved2: u32, pub dwReserved3: u32,
}
Expand description

Required features: ‘Win32_Graphics_DirectDraw’

Fields

dwSize: u32dwCaps: u32dwCaps2: u32dwCKeyCaps: u32dwFXCaps: u32dwFXAlphaCaps: u32dwPalCaps: u32dwSVCaps: u32dwAlphaBltConstBitDepths: u32dwAlphaBltPixelBitDepths: u32dwAlphaBltSurfaceBitDepths: u32dwAlphaOverlayConstBitDepths: u32dwAlphaOverlayPixelBitDepths: u32dwAlphaOverlaySurfaceBitDepths: u32dwZBufferBitDepths: u32dwVidMemTotal: u32dwVidMemFree: u32dwMaxVisibleOverlays: u32dwCurrVisibleOverlays: u32dwNumFourCCCodes: u32dwAlignBoundarySrc: u32dwAlignSizeSrc: u32dwAlignBoundaryDest: u32dwAlignSizeDest: u32dwAlignStrideAlign: u32dwRops: [u32; 8]ddsCaps: DDSCAPSdwMinOverlayStretch: u32dwMaxOverlayStretch: u32dwMinLiveVideoStretch: u32dwMaxLiveVideoStretch: u32dwMinHwCodecStretch: u32dwMaxHwCodecStretch: u32dwReserved1: u32dwReserved2: u32dwReserved3: u32

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.