pub struct IMediaSeeking(/* private fields */);Expand description
IMediaSeeking
COM interface.
Automatically calls
IUnknown::Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*};
let graph_builder: w::IGraphBuilder; // initialized somewhere
let media_seeking = graph_builder
.QueryInterface::<w::IMediaSeeking>()?;Trait Implementations§
Source§impl Clone for IMediaSeeking
impl Clone for IMediaSeeking
Source§impl Drop for IMediaSeeking
impl Drop for IMediaSeeking
Source§impl dshow_IMediaSeeking for IMediaSeeking
impl dshow_IMediaSeeking for IMediaSeeking
Source§fn ConvertTimeFormat(
&self,
target_format: &TIME_FORMAT,
source: i64,
source_format: &TIME_FORMAT,
) -> HrResult<i64>
fn ConvertTimeFormat( &self, target_format: &TIME_FORMAT, source: i64, source_format: &TIME_FORMAT, ) -> HrResult<i64>
IMediaSeeking::ConvertTimeFormat
method.Source§fn GetAvailable(&self) -> HrResult<(i64, i64)>
fn GetAvailable(&self) -> HrResult<(i64, i64)>
IMediaSeeking::GetAvailable
method. Read moreSource§fn GetCurrentPosition(&self) -> HrResult<i64>
fn GetCurrentPosition(&self) -> HrResult<i64>
Source§fn GetDuration(&self) -> HrResult<i64>
fn GetDuration(&self) -> HrResult<i64>
IMediaSeeking::GetDuration
method.Source§fn GetPositions(&self) -> HrResult<(i64, i64)>
fn GetPositions(&self) -> HrResult<(i64, i64)>
IMediaSeeking::GetPositions
method. Read moreSource§fn GetPreroll(&self) -> HrResult<i64>
fn GetPreroll(&self) -> HrResult<i64>
IMediaSeeking::GetPreroll
method.Source§fn GetStopPosition(&self) -> HrResult<i64>
fn GetStopPosition(&self) -> HrResult<i64>
IMediaSeeking::GetStopPosition
method.Source§fn GetTimeFormat(&self) -> HrResult<TIME_FORMAT>
fn GetTimeFormat(&self) -> HrResult<TIME_FORMAT>
IMediaSeeking::GetTimeFormat
method.Source§fn SetPositions(
&self,
current: i64,
current_flags: SEEKING_FLAGS,
stop: i64,
stop_flags: SEEKING_FLAGS,
) -> HrResult<()>
fn SetPositions( &self, current: i64, current_flags: SEEKING_FLAGS, stop: i64, stop_flags: SEEKING_FLAGS, ) -> HrResult<()>
IMediaSeeking::SetPositions
method.Source§fn SetTimeFormat(&self, format: &TIME_FORMAT) -> HrResult<()>
fn SetTimeFormat(&self, format: &TIME_FORMAT) -> HrResult<()>
IMediaSeeking::SetTimeFormat
method.Source§impl ole_IUnknown for IMediaSeeking
impl ole_IUnknown for IMediaSeeking
Source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
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
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
Returns the pointer to the underlying COM virtual table. Read more
Source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IUnknown::QueryInterface
method.impl Send for IMediaSeeking
Auto Trait Implementations§
impl Freeze for IMediaSeeking
impl RefUnwindSafe for IMediaSeeking
impl !Sync for IMediaSeeking
impl Unpin for IMediaSeeking
impl UnwindSafe for IMediaSeeking
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