BufferLock Method (IMFBuffer)
lock type
maximal buffer size
actual buffer size
pointer to the buffer data
Locks a buffer and gets the buffer size, data pointer and maximal buffer size
Syntax
Sub BufferLock( _
   ByVal _eLockType As eMFLockType, _
   ByRef _pcbMaxSize As Integer, _
   ByRef _pcbActualSize As Integer, _
   ByRef _plpData As Long _
) 
void BufferLock( 
   eMFLockType _eLockType,
   out int _pcbMaxSize,
   out int _pcbActualSize,
   out long _plpData
)
procedure BufferLock( 
    _eLockType: eMFLockType;
   Out  _pcbMaxSize: Integer;
   Out  _pcbActualSize: Integer;
   Out  _plpData: Int64
); 
void BufferLock( 
   eMFLockType _eLockType,
   [PARAMFLAG::Out] int _pcbMaxSize,
   [PARAMFLAG::Out] int _pcbActualSize,
   [PARAMFLAG::Out] long _plpData
) 

Parameters

_eLockType
lock type
_pcbMaxSize
maximal buffer size
_pcbActualSize
actual buffer size
_plpData
pointer to the buffer data
See Also

Reference

IMFBuffer Interface
IMFBuffer Members