Microsoft DirectX 8.1 (C++) |
The SetFormat method specifies the format block.
Syntax
BOOL SetFormat(
BYTE *pFormat,
ULONG length
);
Parameters
pFormat
Pointer to a block of memory that contains the format block.
length
Length of the format block, in bytes.
Return Value
Returns TRUE if successful, or FALSE if an error occurred.
Remarks
This method copies the format block specified by pFormat. To set the format type, call the CMediaType::SetFormatType method.
See Also