Trait winsafe::prelude::mf_IMFAsyncCallback

source ·
pub trait mf_IMFAsyncCallback: ole_IUnknown {
    // Provided methods
    fn GetParameters(&self) -> HrResult<(MFASYNC, u32)> { ... }
    fn Invoke(&self, async_result: &impl mf_IMFAsyncResult) -> HrResult<()> { ... }
}
Available on crate features kernel and mf only.
Expand description

This trait is enabled with the mf feature, and provides methods for IMFAsyncCallback.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn GetParameters(&self) -> HrResult<(MFASYNC, u32)>

IMFAsyncCallback::GetParameters method.

Returns the flag and the ID of the work queue.

source

fn Invoke(&self, async_result: &impl mf_IMFAsyncResult) -> HrResult<()>

Object Safety§

This trait is not object safe.

Implementors§