MFBufferAllocPacket Method (MFFactoryClass)
stream information
packet information
packet to initialize
Allocate and initialized packet with specified size, and optionally copy memory.
Syntax
Public Overridable Sub MFBufferAllocPacket( _
   ByRef _pStreamInfo As M_STREAM_INFO, _
   ByRef _pPacketInfo As M_PACKET_INFO, _
   ByRef _ppPacket As IMFPacket _
) 
public virtual void MFBufferAllocPacket( 
   ref M_STREAM_INFO _pStreamInfo,
   ref M_PACKET_INFO _pPacketInfo,
   out IMFPacket _ppPacket
)
public procedure MFBufferAllocPacket( 
   var  _pStreamInfo: M_STREAM_INFO;
   var  _pPacketInfo: M_PACKET_INFO;
   Out  _ppPacket: IMFPacket
); virtual; 
public: virtual void MFBufferAllocPacket( 
   ref M_STREAM_INFO _pStreamInfo,
   ref M_PACKET_INFO _pPacketInfo,
   [PARAMFLAG::Out] IMFPacket* _ppPacket
) 

Parameters

_pStreamInfo
stream information
_pPacketInfo
packet information
_ppPacket
packet to initialize
See Also

Reference

MFFactoryClass Class
MFFactoryClass Members