Trait windows::Win32::System::Com::IBindStatusCallback_Impl
pub trait IBindStatusCallback_Impl: Sized {
// Required methods
fn OnStartBinding(
&self,
dwreserved: u32,
pib: Option<&IBinding>,
) -> Result<()>;
fn GetPriority(&self) -> Result<i32>;
fn OnLowResource(&self, reserved: u32) -> Result<()>;
fn OnProgress(
&self,
ulprogress: u32,
ulprogressmax: u32,
ulstatuscode: u32,
szstatustext: &PCWSTR,
) -> Result<()>;
fn OnStopBinding(&self, hresult: HRESULT, szerror: &PCWSTR) -> Result<()>;
fn GetBindInfo(
&self,
grfbindf: *mut u32,
pbindinfo: *mut BINDINFO,
) -> Result<()>;
fn OnDataAvailable(
&self,
grfbscf: u32,
dwsize: u32,
pformatetc: *const FORMATETC,
pstgmed: *const STGMEDIUM,
) -> Result<()>;
fn OnObjectAvailable(
&self,
riid: *const GUID,
punk: Option<&IUnknown>,
) -> Result<()>;
}
Required Methods§
fn OnStartBinding(&self, dwreserved: u32, pib: Option<&IBinding>) -> Result<()>
fn GetPriority(&self) -> Result<i32>
fn OnLowResource(&self, reserved: u32) -> Result<()>
fn OnProgress( &self, ulprogress: u32, ulprogressmax: u32, ulstatuscode: u32, szstatustext: &PCWSTR, ) -> Result<()>
fn OnStopBinding(&self, hresult: HRESULT, szerror: &PCWSTR) -> Result<()>
fn GetBindInfo( &self, grfbindf: *mut u32, pbindinfo: *mut BINDINFO, ) -> Result<()>
fn OnDataAvailable( &self, grfbscf: u32, dwsize: u32, pformatetc: *const FORMATETC, pstgmed: *const STGMEDIUM, ) -> Result<()>
fn OnObjectAvailable( &self, riid: *const GUID, punk: Option<&IUnknown>, ) -> Result<()>
Object Safety§
This trait is not object safe.