Microsoft DirectX 9.0 |
Constructor method.
Syntax
CMediaSample(
TCHAR *pName,
CBaseAllocator *pAllocator,
HRESULT *phr,
LPBYTE pBuffer = NULL,
LONG length = 0
);
Parameters
pName
Ignored.
pAllocator
Pointer to the CBaseAllocator object that created this sample.
phr
Ignored.
pBuffer
Pointer to a memory buffer allocated by the caller, of size length.
length
Length of the memory buffer.
Remarks
The base class does not modify the HRESULT value passed in the phr parameter.
See Also