Trait windows::Win32::Media::DeviceManager::IWMDMDevice_Impl
pub trait IWMDMDevice_Impl: Sized {
// Required methods
fn GetName(&self, pwszname: PWSTR, nmaxchars: u32) -> Result<()>;
fn GetManufacturer(&self, pwszname: PWSTR, nmaxchars: u32) -> Result<()>;
fn GetVersion(&self) -> Result<u32>;
fn GetType(&self) -> Result<u32>;
fn GetSerialNumber(
&self,
pserialnumber: *mut WMDMID,
abmac: *mut u8,
) -> Result<()>;
fn GetPowerSource(
&self,
pdwpowersource: *mut u32,
pdwpercentremaining: *mut u32,
) -> Result<()>;
fn GetStatus(&self) -> Result<u32>;
fn GetDeviceIcon(&self) -> Result<u32>;
fn EnumStorage(&self) -> Result<IWMDMEnumStorage>;
fn GetFormatSupport(
&self,
ppformatex: *mut *mut WAVEFORMATEX,
pnformatcount: *mut u32,
pppwszmimetype: *mut *mut PWSTR,
pnmimetypecount: *mut u32,
) -> Result<()>;
fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> Result<()>;
}
Required Methods§
fn GetName(&self, pwszname: PWSTR, nmaxchars: u32) -> Result<()>
fn GetManufacturer(&self, pwszname: PWSTR, nmaxchars: u32) -> Result<()>
fn GetVersion(&self) -> Result<u32>
fn GetType(&self) -> Result<u32>
fn GetSerialNumber( &self, pserialnumber: *mut WMDMID, abmac: *mut u8, ) -> Result<()>
fn GetPowerSource( &self, pdwpowersource: *mut u32, pdwpercentremaining: *mut u32, ) -> Result<()>
fn GetStatus(&self) -> Result<u32>
fn GetDeviceIcon(&self) -> Result<u32>
fn EnumStorage(&self) -> Result<IWMDMEnumStorage>
fn GetFormatSupport( &self, ppformatex: *mut *mut WAVEFORMATEX, pnformatcount: *mut u32, pppwszmimetype: *mut *mut PWSTR, pnmimetypecount: *mut u32, ) -> Result<()>
fn SendOpaqueCommand(&self, pcommand: *mut OPAQUECOMMAND) -> Result<()>
Object Safety§
This trait is not object safe.