Struct winsafe::IMFTopologyNode
source · pub struct IMFTopologyNode(/* private fields */);
Available on crate feature
mf
only.Expand description
IMFTopologyNode
COM interface over
IMFTopologyNodeVT
.
Automatically calls
Release
when the object goes out of scope.
Usually created with
MFCreateTopologyNode
function.
§Examples
use winsafe::{self as w, prelude::*, co};
let topology_node = w::MFCreateTopologyNode(co::MF_TOPOLOGY::OUTPUT_NODE)?;
Trait Implementations§
source§impl Clone for IMFTopologyNode
impl Clone for IMFTopologyNode
source§impl Drop for IMFTopologyNode
impl Drop for IMFTopologyNode
source§impl mf_IMFAttributes for IMFTopologyNode
impl mf_IMFAttributes for IMFTopologyNode
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_IMFTopologyNode for IMFTopologyNode
impl mf_IMFTopologyNode for IMFTopologyNode
source§fn CloneFrom(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>
fn CloneFrom(&self, node: &impl mf_IMFTopologyNode) -> HrResult<()>
IMFTopologyNode::CloneFrom
method.source§fn ConnectOutput(
&self,
output_index: u32,
downstream_node: &impl mf_IMFTopologyNode,
input_index_on_downstream_node: u32
) -> HrResult<()>
fn ConnectOutput( &self, output_index: u32, downstream_node: &impl mf_IMFTopologyNode, input_index_on_downstream_node: u32 ) -> HrResult<()>
IMFTopologyNode::ConnectOutput
method.source§fn GetInput(&self, input_index: u32) -> HrResult<(IMFTopologyNode, u32)>
fn GetInput(&self, input_index: u32) -> HrResult<(IMFTopologyNode, u32)>
IMFTopologyNode::GetInput
method. Read moresource§fn GetInputCount(&self) -> HrResult<u32>
fn GetInputCount(&self) -> HrResult<u32>
IMFTopologyNode::GetInputCount
method.source§fn GetNodeType(&self) -> HrResult<MF_TOPOLOGY>
fn GetNodeType(&self) -> HrResult<MF_TOPOLOGY>
IMFTopologyNode::GetNodeType
method.source§fn GetObject<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn GetObject<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IMFTopologyNode::GetObject
method.source§fn GetOutput(&self, output_index: u32) -> HrResult<(IMFTopologyNode, u32)>
fn GetOutput(&self, output_index: u32) -> HrResult<(IMFTopologyNode, u32)>
IMFTopologyNode::GetOutput
method. Read moresource§fn GetOutputCount(&self) -> HrResult<u32>
fn GetOutputCount(&self) -> HrResult<u32>
IMFTopologyNode::GetOutputCount
method.source§fn GetTopoNodeID(&self) -> HrResult<u64>
fn GetTopoNodeID(&self) -> HrResult<u64>
IMFTopologyNode::GetTopoNodeID
method.source§fn SetObject(&self, object: &impl ole_IUnknown) -> HrResult<()>
fn SetObject(&self, object: &impl ole_IUnknown) -> HrResult<()>
IMFTopologyNode::SetObject
methodsource§fn SetTopoNodeID(&self, topo_id: u64) -> HrResult<()>
fn SetTopoNodeID(&self, topo_id: u64) -> HrResult<()>
IMFTopologyNode::SetTopoNodeID
method.source§impl ole_IUnknown for IMFTopologyNode
impl ole_IUnknown for IMFTopologyNode
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 IMFTopologyNode
Auto Trait Implementations§
impl RefUnwindSafe for IMFTopologyNode
impl !Sync for IMFTopologyNode
impl Unpin for IMFTopologyNode
impl UnwindSafe for IMFTopologyNode
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