Trait winsafe::prelude::ole_IDataObject

source ·
pub trait ole_IDataObject: ole_IUnknown {
    // Provided methods
    fn DAdvise(
        &self,
        formatetc: &FORMATETC<'_>,
        advf: ADVF,
        adv_sink: &impl ole_IAdviseSink
    ) -> HrResult<u32> { ... }
    fn DUnadvise(&self, connection: u32) -> HrResult<()> { ... }
    fn QueryGetData(&self, formatetc: &FORMATETC<'_>) -> HrResult<()> { ... }
}
Available on crate features kernel and ole only.
Expand description

This trait is enabled with the ole feature, and provides methods for IDataObject.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn DAdvise( &self, formatetc: &FORMATETC<'_>, advf: ADVF, adv_sink: &impl ole_IAdviseSink ) -> HrResult<u32>

source

fn DUnadvise(&self, connection: u32) -> HrResult<()>

source

fn QueryGetData(&self, formatetc: &FORMATETC<'_>) -> HrResult<()>

Object Safety§

This trait is not object safe.

Implementors§