#[repr(C)]
pub struct DSCAPS {
Show 24 fields pub dwSize: u32, pub dwFlags: u32, pub dwMinSecondarySampleRate: u32, pub dwMaxSecondarySampleRate: u32, pub dwPrimaryBuffers: u32, pub dwMaxHwMixingAllBuffers: u32, pub dwMaxHwMixingStaticBuffers: u32, pub dwMaxHwMixingStreamingBuffers: u32, pub dwFreeHwMixingAllBuffers: u32, pub dwFreeHwMixingStaticBuffers: u32, pub dwFreeHwMixingStreamingBuffers: u32, pub dwMaxHw3DAllBuffers: u32, pub dwMaxHw3DStaticBuffers: u32, pub dwMaxHw3DStreamingBuffers: u32, pub dwFreeHw3DAllBuffers: u32, pub dwFreeHw3DStaticBuffers: u32, pub dwFreeHw3DStreamingBuffers: u32, pub dwTotalHwMemBytes: u32, pub dwFreeHwMemBytes: u32, pub dwMaxContigFreeHwMemBytes: u32, pub dwUnlockTransferRateHwBuffers: u32, pub dwPlayCpuOverheadSwBuffers: u32, pub dwReserved1: u32, pub dwReserved2: u32,
}
Expand description

Required features: "Win32_Media_Audio_DirectSound"

Fields

dwSize: u32dwFlags: u32dwMinSecondarySampleRate: u32dwMaxSecondarySampleRate: u32dwPrimaryBuffers: u32dwMaxHwMixingAllBuffers: u32dwMaxHwMixingStaticBuffers: u32dwMaxHwMixingStreamingBuffers: u32dwFreeHwMixingAllBuffers: u32dwFreeHwMixingStaticBuffers: u32dwFreeHwMixingStreamingBuffers: u32dwMaxHw3DAllBuffers: u32dwMaxHw3DStaticBuffers: u32dwMaxHw3DStreamingBuffers: u32dwFreeHw3DAllBuffers: u32dwFreeHw3DStaticBuffers: u32dwFreeHw3DStreamingBuffers: u32dwTotalHwMemBytes: u32dwFreeHwMemBytes: u32dwMaxContigFreeHwMemBytes: u32dwUnlockTransferRateHwBuffers: u32dwPlayCpuOverheadSwBuffers: u32dwReserved1: u32dwReserved2: 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.