Trait windows::Win32::System::Com::IDataObject_Impl
pub trait IDataObject_Impl: Sized {
// Required methods
fn GetData(&self, pformatetcin: *const FORMATETC) -> Result<STGMEDIUM>;
fn GetDataHere(
&self,
pformatetc: *const FORMATETC,
pmedium: *mut STGMEDIUM,
) -> Result<()>;
fn QueryGetData(&self, pformatetc: *const FORMATETC) -> HRESULT;
fn GetCanonicalFormatEtc(
&self,
pformatectin: *const FORMATETC,
pformatetcout: *mut FORMATETC,
) -> HRESULT;
fn SetData(
&self,
pformatetc: *const FORMATETC,
pmedium: *const STGMEDIUM,
frelease: BOOL,
) -> Result<()>;
fn EnumFormatEtc(&self, dwdirection: u32) -> Result<IEnumFORMATETC>;
fn DAdvise(
&self,
pformatetc: *const FORMATETC,
advf: u32,
padvsink: Option<&IAdviseSink>,
) -> Result<u32>;
fn DUnadvise(&self, dwconnection: u32) -> Result<()>;
fn EnumDAdvise(&self) -> Result<IEnumSTATDATA>;
}
Required Methods§
fn GetData(&self, pformatetcin: *const FORMATETC) -> Result<STGMEDIUM>
fn GetDataHere( &self, pformatetc: *const FORMATETC, pmedium: *mut STGMEDIUM, ) -> Result<()>
fn QueryGetData(&self, pformatetc: *const FORMATETC) -> HRESULT
fn GetCanonicalFormatEtc( &self, pformatectin: *const FORMATETC, pformatetcout: *mut FORMATETC, ) -> HRESULT
fn SetData( &self, pformatetc: *const FORMATETC, pmedium: *const STGMEDIUM, frelease: BOOL, ) -> Result<()>
fn EnumFormatEtc(&self, dwdirection: u32) -> Result<IEnumFORMATETC>
fn DAdvise( &self, pformatetc: *const FORMATETC, advf: u32, padvsink: Option<&IAdviseSink>, ) -> Result<u32>
fn DUnadvise(&self, dwconnection: u32) -> Result<()>
fn EnumDAdvise(&self) -> Result<IEnumSTATDATA>
Object Safety§
This trait is not object safe.