Struct winsafe::IMFTopology
source · pub struct IMFTopology(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFTopology
COM interface over IMFTopologyVT
.
Automatically calls
Release
when the object goes out of scope.
Usually created with MFCreateTopology
function.
§Examples
use winsafe::{self as w, prelude::*};
let topology = w::MFCreateTopology()?;
Trait Implementations§
source§impl Clone for IMFTopology
impl Clone for IMFTopology
source§impl Drop for IMFTopology
impl Drop for IMFTopology
source§impl mf_IMFAttributes for IMFTopology
impl mf_IMFAttributes for IMFTopology
source§fn CopyAllItems(&self, dest: &impl mf_IMFAttributes) -> HrResult<()>
fn CopyAllItems(&self, dest: &impl mf_IMFAttributes) -> HrResult<()>
IMFAttributes::CopyAllItems
method.source§fn DeleteAllItems(&self) -> HrResult<()>
fn DeleteAllItems(&self) -> HrResult<()>
IMFAttributes::DeleteAllItems
method.source§fn DeleteItem(&self, guid_key: &GUID) -> HrResult<()>
fn DeleteItem(&self, guid_key: &GUID) -> HrResult<()>
IMFAttributes::DeleteItem
method.source§impl mf_IMFTopology for IMFTopology
impl mf_IMFTopology for IMFTopology
source§fn AddNode(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>
fn AddNode(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>
IMFTopology::AddNode
method.source§fn CloneFrom(&self, topology: &impl mf_IMFTopology) -> HrResult<()>
fn CloneFrom(&self, topology: &impl mf_IMFTopology) -> HrResult<()>
IMFTopology::CloneFrom
method.source§fn GetNode(&self, index: u16) -> HrResult<IMFTopologyNode>
fn GetNode(&self, index: u16) -> HrResult<IMFTopologyNode>
IMFTopology::GetNode
method.source§fn GetNodeByID(&self, topo_node_id: u64) -> HrResult<IMFTopologyNode>
fn GetNodeByID(&self, topo_node_id: u64) -> HrResult<IMFTopologyNode>
IMFTopology::GetNodeByID
method.source§fn GetNodeCount(&self) -> HrResult<u16>
fn GetNodeCount(&self) -> HrResult<u16>
IMFTopology::GetNodeCount
method.source§fn GetTopologyID(&self) -> HrResult<u64>
fn GetTopologyID(&self) -> HrResult<u64>
IMFTopology::GetTopologyID
method.source§fn RemoveNode(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>
fn RemoveNode(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>
IMFTopology::RemoveNode
method.source§impl ole_IUnknown for IMFTopology
impl ole_IUnknown for IMFTopology
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.impl Send for IMFTopology
Auto Trait Implementations§
impl Freeze for IMFTopology
impl RefUnwindSafe for IMFTopology
impl !Sync for IMFTopology
impl Unpin for IMFTopology
impl UnwindSafe for IMFTopology
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more