Xeno-rat
Loading...
Searching...
No Matches
NAudio.MediaFoundation.IMFByteStream Interface Reference

IMFByteStream http://msdn.microsoft.com/en-gb/library/windows/desktop/ms698720%28v=vs.85%29.aspx. More...

Collaboration diagram for NAudio.MediaFoundation.IMFByteStream:

Public Member Functions

void GetCapabilities (ref int pdwCapabiities)
 Retrieves the characteristics of the byte stream. virtual HRESULT STDMETHODCALLTYPE GetCapabilities(/*[out]*‍/ __RPC__out DWORD *pdwCapabilities) = 0;.
 
void GetLength (ref long pqwLength)
 Retrieves the length of the stream. virtual HRESULT STDMETHODCALLTYPE GetLength(/*[out]*‍/ __RPC__out QWORD *pqwLength) = 0;.
 
void SetLength (long qwLength)
 Sets the length of the stream. virtual HRESULT STDMETHODCALLTYPE SetLength(/*[in]*‍/ QWORD qwLength) = 0;.
 
void GetCurrentPosition (ref long pqwPosition)
 Retrieves the current read or write position in the stream. virtual HRESULT STDMETHODCALLTYPE GetCurrentPosition(/*[out]*‍/ __RPC__out QWORD *pqwPosition) = 0;.
 
void SetCurrentPosition (long qwPosition)
 Sets the current read or write position. virtual HRESULT STDMETHODCALLTYPE SetCurrentPosition(/*[in]*‍/ QWORD qwPosition) = 0;.
 
void IsEndOfStream ([MarshalAs(UnmanagedType.Bool)] ref bool pfEndOfStream)
 Queries whether the current position has reached the end of the stream. virtual HRESULT STDMETHODCALLTYPE IsEndOfStream(/*[out]*‍/ __RPC__out BOOL *pfEndOfStream) = 0;.
 
void Read (IntPtr pb, int cb, ref int pcbRead)
 Reads data from the stream. virtual HRESULT STDMETHODCALLTYPE Read(/*[size_is][out]*‍/ __RPC__out_ecount_full(cb) BYTE pb, /[in]*‍/ ULONG cb, /*[out]*‍/ __RPC__out ULONG *pcbRead) = 0;.
 
void BeginRead (IntPtr pb, int cb, IntPtr pCallback, IntPtr punkState)
 Begins an asynchronous read operation from the stream. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE BeginRead(/*[out]*‍/ Out_writes_bytes(cb) BYTE pb, /[in]*‍/ ULONG cb, /*[in]*‍/ IMFAsyncCallback pCallback, /[in]*‍/ IUnknown *punkState) = 0;.
 
void EndRead (IntPtr pResult, ref int pcbRead)
 Completes an asynchronous read operation. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE EndRead(/*[in]*‍/ IMFAsyncResult pResult, /[out]*‍/ Out ULONG *pcbRead) = 0;.
 
void Write (IntPtr pb, int cb, ref int pcbWritten)
 Writes data to the stream. virtual HRESULT STDMETHODCALLTYPE Write(/*[size_is][in]*‍/ __RPC__in_ecount_full(cb) const BYTE pb, /[in]*‍/ ULONG cb, /*[out]*‍/ __RPC__out ULONG *pcbWritten) = 0;.
 
void BeginWrite (IntPtr pb, int cb, IntPtr pCallback, IntPtr punkState)
 Begins an asynchronous write operation to the stream. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE BeginWrite(/*[in]*‍/ In_reads_bytes(cb) const BYTE pb, /[in]*‍/ ULONG cb, /*[in]*‍/ IMFAsyncCallback pCallback, /[in]*‍/ IUnknown *punkState) = 0;.
 
void EndWrite (IntPtr pResult, ref int pcbWritten)
 Completes an asynchronous write operation. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE EndWrite(/*[in]*‍/ IMFAsyncResult pResult, /[out]*‍/ Out ULONG *pcbWritten) = 0;.
 
void Seek (int SeekOrigin, long llSeekOffset, int dwSeekFlags, ref long pqwCurrentPosition)
 Moves the current position in the stream by a specified offset. virtual HRESULT STDMETHODCALLTYPE Seek(/*[in]*‍/ MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, /*[in]*‍/ LONGLONG llSeekOffset, /*[in]*‍/ DWORD dwSeekFlags, /*[out]*‍/ __RPC__out QWORD *pqwCurrentPosition) = 0;.
 
void Flush ()
 Clears any internal buffers used by the stream. virtual HRESULT STDMETHODCALLTYPE Flush( void) = 0;.
 
void Close ()
 Closes the stream and releases any resources associated with the stream. virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;.
 

Detailed Description

Member Function Documentation

◆ BeginRead()

void NAudio.MediaFoundation.IMFByteStream.BeginRead ( IntPtr pb,
int cb,
IntPtr pCallback,
IntPtr punkState )

Begins an asynchronous read operation from the stream. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE BeginRead(/*[out]*‍/ Out_writes_bytes(cb) BYTE pb, /[in]*‍/ ULONG cb, /*[in]*‍/ IMFAsyncCallback pCallback, /[in]*‍/ IUnknown *punkState) = 0;.

◆ BeginWrite()

void NAudio.MediaFoundation.IMFByteStream.BeginWrite ( IntPtr pb,
int cb,
IntPtr pCallback,
IntPtr punkState )

Begins an asynchronous write operation to the stream. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE BeginWrite(/*[in]*‍/ In_reads_bytes(cb) const BYTE pb, /[in]*‍/ ULONG cb, /*[in]*‍/ IMFAsyncCallback pCallback, /[in]*‍/ IUnknown *punkState) = 0;.

◆ Close()

void NAudio.MediaFoundation.IMFByteStream.Close ( )

Closes the stream and releases any resources associated with the stream. virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;.

◆ EndRead()

void NAudio.MediaFoundation.IMFByteStream.EndRead ( IntPtr pResult,
ref int pcbRead )

Completes an asynchronous read operation. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE EndRead(/*[in]*‍/ IMFAsyncResult pResult, /[out]*‍/ Out ULONG *pcbRead) = 0;.

◆ EndWrite()

void NAudio.MediaFoundation.IMFByteStream.EndWrite ( IntPtr pResult,
ref int pcbWritten )

Completes an asynchronous write operation. virtual /*[local]*‍/ HRESULT STDMETHODCALLTYPE EndWrite(/*[in]*‍/ IMFAsyncResult pResult, /[out]*‍/ Out ULONG *pcbWritten) = 0;.

◆ Flush()

void NAudio.MediaFoundation.IMFByteStream.Flush ( )

Clears any internal buffers used by the stream. virtual HRESULT STDMETHODCALLTYPE Flush( void) = 0;.

◆ GetCapabilities()

void NAudio.MediaFoundation.IMFByteStream.GetCapabilities ( ref int pdwCapabiities)

Retrieves the characteristics of the byte stream. virtual HRESULT STDMETHODCALLTYPE GetCapabilities(/*[out]*‍/ __RPC__out DWORD *pdwCapabilities) = 0;.

◆ GetCurrentPosition()

void NAudio.MediaFoundation.IMFByteStream.GetCurrentPosition ( ref long pqwPosition)

Retrieves the current read or write position in the stream. virtual HRESULT STDMETHODCALLTYPE GetCurrentPosition(/*[out]*‍/ __RPC__out QWORD *pqwPosition) = 0;.

◆ GetLength()

void NAudio.MediaFoundation.IMFByteStream.GetLength ( ref long pqwLength)

Retrieves the length of the stream. virtual HRESULT STDMETHODCALLTYPE GetLength(/*[out]*‍/ __RPC__out QWORD *pqwLength) = 0;.

◆ IsEndOfStream()

void NAudio.MediaFoundation.IMFByteStream.IsEndOfStream ( [MarshalAs(UnmanagedType.Bool)] ref bool pfEndOfStream)

Queries whether the current position has reached the end of the stream. virtual HRESULT STDMETHODCALLTYPE IsEndOfStream(/*[out]*‍/ __RPC__out BOOL *pfEndOfStream) = 0;.

◆ Read()

void NAudio.MediaFoundation.IMFByteStream.Read ( IntPtr pb,
int cb,
ref int pcbRead )

Reads data from the stream. virtual HRESULT STDMETHODCALLTYPE Read(/*[size_is][out]*‍/ __RPC__out_ecount_full(cb) BYTE pb, /[in]*‍/ ULONG cb, /*[out]*‍/ __RPC__out ULONG *pcbRead) = 0;.

◆ Seek()

void NAudio.MediaFoundation.IMFByteStream.Seek ( int SeekOrigin,
long llSeekOffset,
int dwSeekFlags,
ref long pqwCurrentPosition )

Moves the current position in the stream by a specified offset. virtual HRESULT STDMETHODCALLTYPE Seek(/*[in]*‍/ MFBYTESTREAM_SEEK_ORIGIN SeekOrigin, /*[in]*‍/ LONGLONG llSeekOffset, /*[in]*‍/ DWORD dwSeekFlags, /*[out]*‍/ __RPC__out QWORD *pqwCurrentPosition) = 0;.

◆ SetCurrentPosition()

void NAudio.MediaFoundation.IMFByteStream.SetCurrentPosition ( long qwPosition)

Sets the current read or write position. virtual HRESULT STDMETHODCALLTYPE SetCurrentPosition(/*[in]*‍/ QWORD qwPosition) = 0;.

◆ SetLength()

void NAudio.MediaFoundation.IMFByteStream.SetLength ( long qwLength)

Sets the length of the stream. virtual HRESULT STDMETHODCALLTYPE SetLength(/*[in]*‍/ QWORD qwLength) = 0;.

◆ Write()

void NAudio.MediaFoundation.IMFByteStream.Write ( IntPtr pb,
int cb,
ref int pcbWritten )

Writes data to the stream. virtual HRESULT STDMETHODCALLTYPE Write(/*[size_is][in]*‍/ __RPC__in_ecount_full(cb) const BYTE pb, /[in]*‍/ ULONG cb, /*[out]*‍/ __RPC__out ULONG *pcbWritten) = 0;.


The documentation for this interface was generated from the following file: