Previous | Next |
The GetOutputFormat method retrieves the supported formats for a specified output.
Syntax
HRESULT GetOutputFormat(
DWORD dwOutputNumber,
DWORD dwFormatNumber,
IWMOutputMediaProps** ppProps
);
Parameters
dwOutputNumber
[in] Double word containing the output number.
dwFormatNumber
[in] Double word containing the format number.
ppProps
[out] Pointer to a pointer to an IWMOutputMediaProps object.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Remarks
To enumerate the supported formats for an output, call GetOutputFormatCount to get the number of formats, and then call GetOutputFormat in succession to get the formats.
See Also
Previous | Next |