Trait winsafe::prelude::mf_IMFAsyncResult
source · pub trait mf_IMFAsyncResult: ole_IUnknown {
// Provided methods
fn GetObject<T>(&self) -> HrResult<T>
where T: ole_IUnknown { ... }
fn GetState<T>(&self) -> HrResult<T>
where T: ole_IUnknown { ... }
fn GetStateNoAddRef<T>(&self) -> Option<ManuallyDrop<T>>
where T: ole_IUnknown { ... }
fn GetStatus(&self) -> HRESULT { ... }
fn SetStatus(&self, status: HRESULT) -> HrResult<()> { ... }
}
Available on crate features
kernel
and mf
only.Expand description
This trait is enabled with the mf
feature, and provides methods for
IMFAsyncResult
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn GetObject<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn GetObject<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IMFAsyncResult::GetObject
method.
sourcefn GetState<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn GetState<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IMFAsyncResult::GetState
method.
sourcefn GetStateNoAddRef<T>(&self) -> Option<ManuallyDrop<T>>where
T: ole_IUnknown,
fn GetStateNoAddRef<T>(&self) -> Option<ManuallyDrop<T>>where
T: ole_IUnknown,
IMFAsyncResult::GetStateNoAddRef
method.
sourcefn GetStatus(&self) -> HRESULT
fn GetStatus(&self) -> HRESULT
IMFAsyncResult::GetStatus
method.
Object Safety§
This trait is not object safe.