Trait winsafe::prelude::dshow_IGraphBuilder
source · pub trait dshow_IGraphBuilder: dshow_IFilterGraph {
// Provided methods
fn Abort(&self) -> HrResult<()> { ... }
fn AddSourceFilter(
&self,
file_name: &str,
filter_name: &str
) -> HrResult<IBaseFilter> { ... }
fn Connect(
&self,
pin_out: &impl dshow_IPin,
pin_in: &impl dshow_IPin
) -> HrResult<()> { ... }
fn Render(&self, pin_out: &impl dshow_IPin) -> HrResult<()> { ... }
fn RenderFile(&self, file: &str) -> HrResult<()> { ... }
fn SetLogFile(&self, hfile: Option<&HFILE>) -> HrResult<()> { ... }
fn ShouldOperationContinue(&self) -> HrResult<bool> { ... }
}
Available on crate features
kernel
and dshow
only.Expand description
This trait is enabled with the dshow
feature, and provides methods for
IGraphBuilder
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn Abort(&self) -> HrResult<()>
fn Abort(&self) -> HrResult<()>
IGraphBuilder::Abort
method.
sourcefn AddSourceFilter(
&self,
file_name: &str,
filter_name: &str
) -> HrResult<IBaseFilter>
fn AddSourceFilter( &self, file_name: &str, filter_name: &str ) -> HrResult<IBaseFilter>
IGraphBuilder::AddSourceFilter
method.
sourcefn Connect(
&self,
pin_out: &impl dshow_IPin,
pin_in: &impl dshow_IPin
) -> HrResult<()>
fn Connect( &self, pin_out: &impl dshow_IPin, pin_in: &impl dshow_IPin ) -> HrResult<()>
IGraphBuilder::Connect
method.
sourcefn Render(&self, pin_out: &impl dshow_IPin) -> HrResult<()>
fn Render(&self, pin_out: &impl dshow_IPin) -> HrResult<()>
IGraphBuilder::Render
method.
sourcefn RenderFile(&self, file: &str) -> HrResult<()>
fn RenderFile(&self, file: &str) -> HrResult<()>
IGraphBuilder::RenderFile
method.
sourcefn SetLogFile(&self, hfile: Option<&HFILE>) -> HrResult<()>
fn SetLogFile(&self, hfile: Option<&HFILE>) -> HrResult<()>
IGraphBuilder::SetLogFile
method.
sourcefn ShouldOperationContinue(&self) -> HrResult<bool>
fn ShouldOperationContinue(&self) -> HrResult<bool>
Object Safety§
This trait is not object safe.