pub trait IMFHttpDownloadRequest_Impl: Sized {
Show 16 methods
// Required methods
fn AddHeader(&self, szheader: &PCWSTR) -> Result<()>;
fn BeginSendRequest(
&self,
pbpayload: *const u8,
cbpayload: u32,
pcallback: Option<&IMFAsyncCallback>,
punkstate: Option<&IUnknown>
) -> Result<()>;
fn EndSendRequest(&self, presult: Option<&IMFAsyncResult>) -> Result<()>;
fn BeginReceiveResponse(
&self,
pcallback: Option<&IMFAsyncCallback>,
punkstate: Option<&IUnknown>
) -> Result<()>;
fn EndReceiveResponse(&self, presult: Option<&IMFAsyncResult>) -> Result<()>;
fn BeginReadPayload(
&self,
pb: *mut u8,
cb: u32,
pcallback: Option<&IMFAsyncCallback>,
punkstate: Option<&IUnknown>
) -> Result<()>;
fn EndReadPayload(
&self,
presult: Option<&IMFAsyncResult>,
pqwoffset: *mut u64,
pcbread: *mut u32
) -> Result<()>;
fn QueryHeader(&self, szheadername: &PCWSTR, dwindex: u32) -> Result<PWSTR>;
fn GetURL(&self) -> Result<PWSTR>;
fn HasNullSourceOrigin(&self) -> Result<BOOL>;
fn GetTimeSeekResult(
&self,
pqwstarttime: *mut u64,
pqwstoptime: *mut u64,
pqwduration: *mut u64
) -> Result<()>;
fn GetHttpStatus(&self) -> Result<u32>;
fn GetAtEndOfPayload(&self) -> Result<BOOL>;
fn GetTotalLength(&self) -> Result<u64>;
fn GetRangeEndOffset(&self) -> Result<u64>;
fn Close(&self) -> Result<()>;
}
Required Methods§
fn AddHeader(&self, szheader: &PCWSTR) -> Result<()>
fn BeginSendRequest( &self, pbpayload: *const u8, cbpayload: u32, pcallback: Option<&IMFAsyncCallback>, punkstate: Option<&IUnknown> ) -> Result<()>
fn EndSendRequest(&self, presult: Option<&IMFAsyncResult>) -> Result<()>
fn BeginReceiveResponse( &self, pcallback: Option<&IMFAsyncCallback>, punkstate: Option<&IUnknown> ) -> Result<()>
fn EndReceiveResponse(&self, presult: Option<&IMFAsyncResult>) -> Result<()>
fn BeginReadPayload( &self, pb: *mut u8, cb: u32, pcallback: Option<&IMFAsyncCallback>, punkstate: Option<&IUnknown> ) -> Result<()>
fn EndReadPayload( &self, presult: Option<&IMFAsyncResult>, pqwoffset: *mut u64, pcbread: *mut u32 ) -> Result<()>
fn QueryHeader(&self, szheadername: &PCWSTR, dwindex: u32) -> Result<PWSTR>
fn GetURL(&self) -> Result<PWSTR>
fn HasNullSourceOrigin(&self) -> Result<BOOL>
fn GetTimeSeekResult( &self, pqwstarttime: *mut u64, pqwstoptime: *mut u64, pqwduration: *mut u64 ) -> Result<()>
fn GetHttpStatus(&self) -> Result<u32>
fn GetAtEndOfPayload(&self) -> Result<BOOL>
fn GetTotalLength(&self) -> Result<u64>
fn GetRangeEndOffset(&self) -> Result<u64>
fn Close(&self) -> Result<()>
Object Safety§
This trait is not object safe.