diff --git a/src/winsafe/mf/funcs.rs.html b/src/winsafe/mf/funcs.rs.html index c214a7ef45..efd896351a 100644 --- a/src/winsafe/mf/funcs.rs.html +++ b/src/winsafe/mf/funcs.rs.html @@ -133,6 +133,19 @@ 133 134 135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 +148
#![allow(non_snake_case)]
 
 use crate::co;
@@ -192,6 +205,19 @@
 
 /// [`MFCreateMFByteStreamOnStream`](https://learn.microsoft.com/en-us/windows/win32/api/mfidl/nf-mfidl-mfcreatemfbytestreamonstream)
 /// function.
+///
+/// # Examples
+///
+/// ```no_run
+/// use winsafe::{self as w, prelude::*};
+///
+/// let raw_data: Vec<u8>; // initialized somewhere
+/// # let raw_data = Vec::<u8>::new();
+///
+/// let stream = w::SHCreateMemStream(&raw_data)?;
+/// let byte_stream = w::MFCreateMFByteStreamOnStream(&stream)?;
+/// # w::HrResult::Ok(())
+/// ```
 #[must_use]
 pub fn MFCreateMFByteStreamOnStream(
 	stream: &impl ole_IStream,
diff --git a/winsafe/fn.MFCreateMFByteStreamOnStream.html b/winsafe/fn.MFCreateMFByteStreamOnStream.html
index c073d59959..1979ea8ee5 100644
--- a/winsafe/fn.MFCreateMFByteStreamOnStream.html
+++ b/winsafe/fn.MFCreateMFByteStreamOnStream.html
@@ -1,5 +1,12 @@
-MFCreateMFByteStreamOnStream in winsafe - Rust

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 +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 +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 +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

Function winsafe::MFStartup

source ·
pub fn MFStartup(flags: MFSTARTUP) -> HrResult<()>
Available on crate feature mf only.
Expand description

MFStartup +MFStartup in winsafe - Rust

Function winsafe::MFStartup

source ·
pub fn MFStartup(flags: MFSTARTUP) -> HrResult<()>
Available on crate feature mf only.
Expand description

MFStartup function.

\ No newline at end of file