Function winsafe::MFCreateMFByteStreamOnStream
source · pub fn MFCreateMFByteStreamOnStream(
+MFCreateMFByteStreamOnStream in winsafe - Rust Function winsafe::MFCreateMFByteStreamOnStream
source · pub fn MFCreateMFByteStreamOnStream(
stream: &impl ole_IStream,
) -> HrResult<IMFByteStream>
Available on crate feature mf
only.Expand description
MFCreateMFByteStreamOnStream
function.
+§Examples
+use winsafe::{self as w, prelude::*};
+
+let raw_data: Vec<u8>; // initialized somewhere
+
+let stream = w::SHCreateMemStream(&raw_data)?;
+let byte_stream = w::MFCreateMFByteStreamOnStream(&stream)?;
\ No newline at end of file
diff --git a/winsafe/fn.MFCreateSourceResolver.html b/winsafe/fn.MFCreateSourceResolver.html
index 8faf7eedb4..3d7b8631e5 100644
--- a/winsafe/fn.MFCreateSourceResolver.html
+++ b/winsafe/fn.MFCreateSourceResolver.html
@@ -1,4 +1,4 @@
-MFCreateSourceResolver in winsafe - Rust Function winsafe::MFCreateSourceResolver
source · pub fn MFCreateSourceResolver() -> HrResult<IMFSourceResolver>
Available on crate feature mf
only.Expand description
MFCreateSourceResolver in winsafe - Rust Function winsafe::MFCreateSourceResolver
source · pub fn MFCreateSourceResolver() -> HrResult<IMFSourceResolver>
Available on crate feature mf
only.Expand description
MFCreateSourceResolver
function.
§Examples
use winsafe::{self as w, prelude::*};
diff --git a/winsafe/fn.MFCreateTopology.html b/winsafe/fn.MFCreateTopology.html
index 324877d3f2..d6d6da3402 100644
--- a/winsafe/fn.MFCreateTopology.html
+++ b/winsafe/fn.MFCreateTopology.html
@@ -1,4 +1,4 @@
-MFCreateTopology in winsafe - Rust Function winsafe::MFCreateTopology
source · pub fn MFCreateTopology() -> HrResult<IMFTopology>
Available on crate feature mf
only.Expand description
MFCreateTopology in winsafe - Rust Function winsafe::MFCreateTopology
source · pub fn MFCreateTopology() -> HrResult<IMFTopology>
Available on crate feature mf
only.Expand description
MFCreateTopology
function.
§Examples
use winsafe::{self as w, prelude::*};
diff --git a/winsafe/fn.MFCreateTopologyNode.html b/winsafe/fn.MFCreateTopologyNode.html
index a4da1dab6d..f22aa182de 100644
--- a/winsafe/fn.MFCreateTopologyNode.html
+++ b/winsafe/fn.MFCreateTopologyNode.html
@@ -1,4 +1,4 @@
-MFCreateTopologyNode in winsafe - Rust Function winsafe::MFCreateTopologyNode
source · pub fn MFCreateTopologyNode(node_type: MF_TOPOLOGY) -> HrResult<IMFTopologyNode>
Available on crate feature mf
only.Expand description
MFCreateTopologyNode in winsafe - Rust Function winsafe::MFCreateTopologyNode
source · pub fn MFCreateTopologyNode(node_type: MF_TOPOLOGY) -> HrResult<IMFTopologyNode>
Available on crate feature mf
only.Expand description
MFCreateTopologyNode
function.
§Examples
use winsafe::{self as w, prelude::*, co};
diff --git a/winsafe/fn.MFStartup.html b/winsafe/fn.MFStartup.html
index 2e5352c1fc..585e3be77e 100644
--- a/winsafe/fn.MFStartup.html
+++ b/winsafe/fn.MFStartup.html
@@ -1,3 +1,3 @@
-MFStartup in winsafe - Rust