Trait windows::Win32::Media::DeviceManager::IWMDMLogger_Impl
pub trait IWMDMLogger_Impl: Sized {
// Required methods
fn IsEnabled(&self) -> Result<BOOL>;
fn Enable(&self, fenable: BOOL) -> Result<()>;
fn GetLogFileName(&self, pszfilename: PSTR, nmaxchars: u32) -> Result<()>;
fn SetLogFileName(&self, pszfilename: &PCSTR) -> Result<()>;
fn LogString(
&self,
dwflags: u32,
pszsrcname: &PCSTR,
pszlog: &PCSTR,
) -> Result<()>;
fn LogDword(
&self,
dwflags: u32,
pszsrcname: &PCSTR,
pszlogformat: &PCSTR,
dwlog: u32,
) -> Result<()>;
fn Reset(&self) -> Result<()>;
fn GetSizeParams(
&self,
pdwmaxsize: *mut u32,
pdwshrinktosize: *mut u32,
) -> Result<()>;
fn SetSizeParams(&self, dwmaxsize: u32, dwshrinktosize: u32) -> Result<()>;
}
Required Methods§
fn IsEnabled(&self) -> Result<BOOL>
fn Enable(&self, fenable: BOOL) -> Result<()>
fn GetLogFileName(&self, pszfilename: PSTR, nmaxchars: u32) -> Result<()>
fn SetLogFileName(&self, pszfilename: &PCSTR) -> Result<()>
fn LogString( &self, dwflags: u32, pszsrcname: &PCSTR, pszlog: &PCSTR, ) -> Result<()>
fn LogDword( &self, dwflags: u32, pszsrcname: &PCSTR, pszlogformat: &PCSTR, dwlog: u32, ) -> Result<()>
fn Reset(&self) -> Result<()>
fn GetSizeParams( &self, pdwmaxsize: *mut u32, pdwshrinktosize: *mut u32, ) -> Result<()>
fn SetSizeParams(&self, dwmaxsize: u32, dwshrinktosize: u32) -> Result<()>
Object Safety§
This trait is not object safe.