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§
sourcefn GetParameters(&self) -> HrResult<(MFASYNC, u32)>
fn GetParameters(&self) -> HrResult<(MFASYNC, u32)>
IMFAsyncCallback::GetParameters
method.
Returns the flag and the ID of the work queue.
sourcefn Invoke(&self, async_result: &impl mf_IMFAsyncResult) -> HrResult<()>
fn Invoke(&self, async_result: &impl mf_IMFAsyncResult) -> HrResult<()>
IMFAsyncCallback::Invoke
method.
Object Safety§
This trait is not object safe.