Operates media buffers
Methods
BufferActualSizeSet
Set buffer actual size
Syntax
void BufferActualSizeSet( int _cbActualSize )
Parameters
_cbActualSize - actual size of a buffer
BufferFlagsGet
Get buffer flags
Syntax
void BufferFlagsGet( out eMFBufferFlags _peBufferFlags )
Parameters
_peBufferFlags - buffer flags
BufferLock
Locks a buffer and gets the buffer size, data pointer and maximal buffer size
Syntax
void BufferLock( eMFLockType _eLockType, out int _pcbMaxSize, out int _pcbActualSize, out long _plpData )
Parameters
_eLockType - lock type
_pcbMaxSize - maximal buffer size
_pcbActualSize - actual buffer size
_plpData - pointer to the buffer data
BufferSharedIdGet
Get buffer shared ID and process ID (used for IPC)
Syntax
void BufferSharedIdGet( out long _pllSharedID, out uint _pdwProcessID, out eMFBufferFlags _peBufferFlags )
Parameters
_pllSharedID - shared ID
_pdwProcessID - process ID
_peBufferFlags - buffer flags
BufferSizeGet
Gets the buffer actual size
Syntax
void BufferSizeGet( out int _pcbMaxSize, ref int _pcbActualSize )
Parameters
_pcbMaxSize - maximal buffer size
_pcbActualSize - actual size
BufferUnlock
Unlock a buffer
Syntax
void BufferUnlock( eMFLockType _eLockType )
Parameters
_eLockType - type of a lock