CMediaType::AllocFormatBuffer (Compact 2013)
3/26/2014
Allocates a block of memory for the format block.
Syntax
BYTE* AllocFormatBuffer(
ULONG length
);
Parameters
- length
Size required for the format block.
Return Value
Returns a pointer to the new block if successful; otherwise, returns NULL.
Remarks
Any previous format block is deleted and a new block is allocated and installed. The size required must be nonzero.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |