Struct windows::Win32::Media::MediaFoundation::IMFHttpDownloadRequest
pub struct IMFHttpDownloadRequest(/* private fields */);
Implementations§
§impl IMFHttpDownloadRequest
impl IMFHttpDownloadRequest
pub unsafe fn AddHeader<P0>(&self, szheader: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn BeginSendRequest<P0, P1>(
&self,
pbpayload: Option<&[u8]>,
pcallback: P0,
punkstate: P1
) -> Result<()>where
P0: IntoParam<IMFAsyncCallback>,
P1: IntoParam<IUnknown>,
pub unsafe fn EndSendRequest<P0>(&self, presult: P0) -> Result<()>where
P0: IntoParam<IMFAsyncResult>,
pub unsafe fn BeginReceiveResponse<P0, P1>(
&self,
pcallback: P0,
punkstate: P1
) -> Result<()>where
P0: IntoParam<IMFAsyncCallback>,
P1: IntoParam<IUnknown>,
pub unsafe fn EndReceiveResponse<P0>(&self, presult: P0) -> Result<()>where
P0: IntoParam<IMFAsyncResult>,
pub unsafe fn BeginReadPayload<P0, P1>(
&self,
pb: &mut [u8],
pcallback: P0,
punkstate: P1
) -> Result<()>where
P0: IntoParam<IMFAsyncCallback>,
P1: IntoParam<IUnknown>,
pub unsafe fn EndReadPayload<P0>(
&self,
presult: P0,
pqwoffset: *mut u64,
pcbread: *mut u32
) -> Result<()>where
P0: IntoParam<IMFAsyncResult>,
pub unsafe fn QueryHeader<P0>(
&self,
szheadername: P0,
dwindex: u32
) -> Result<PWSTR>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetURL(&self) -> Result<PWSTR>
pub unsafe fn HasNullSourceOrigin(&self) -> Result<BOOL>
pub unsafe fn GetTimeSeekResult( &self, pqwstarttime: *mut u64, pqwstoptime: *mut u64, pqwduration: *mut u64 ) -> Result<()>
pub unsafe fn GetHttpStatus(&self) -> Result<u32>
pub unsafe fn GetAtEndOfPayload(&self) -> Result<BOOL>
pub unsafe fn GetTotalLength(&self) -> Result<u64>
pub unsafe fn GetRangeEndOffset(&self) -> Result<u64>
pub unsafe fn Close(&self) -> Result<()>
Trait Implementations§
§impl Clone for IMFHttpDownloadRequest
impl Clone for IMFHttpDownloadRequest
§fn clone(&self) -> IMFHttpDownloadRequest
fn clone(&self) -> IMFHttpDownloadRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IMFHttpDownloadRequest
impl Debug for IMFHttpDownloadRequest
§impl From<&IMFHttpDownloadRequest> for &IUnknown
impl From<&IMFHttpDownloadRequest> for &IUnknown
§fn from(value: &IMFHttpDownloadRequest) -> Self
fn from(value: &IMFHttpDownloadRequest) -> Self
Converts to this type from the input type.
§impl From<IMFHttpDownloadRequest> for IUnknown
impl From<IMFHttpDownloadRequest> for IUnknown
§fn from(value: IMFHttpDownloadRequest) -> Self
fn from(value: IMFHttpDownloadRequest) -> Self
Converts to this type from the input type.
§impl Interface for IMFHttpDownloadRequest
impl Interface for IMFHttpDownloadRequest
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IMFHttpDownloadRequest
impl PartialEq for IMFHttpDownloadRequest
§fn eq(&self, other: &IMFHttpDownloadRequest) -> bool
fn eq(&self, other: &IMFHttpDownloadRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFHttpDownloadRequest
impl StructuralPartialEq for IMFHttpDownloadRequest
Auto Trait Implementations§
impl RefUnwindSafe for IMFHttpDownloadRequest
impl !Send for IMFHttpDownloadRequest
impl !Sync for IMFHttpDownloadRequest
impl Unpin for IMFHttpDownloadRequest
impl UnwindSafe for IMFHttpDownloadRequest
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