Previous | Next |
The SetOutputProps method specifies the media properties of an uncompressed output stream, if an index is specified.
Syntax
HRESULT SetOutputProps(
DWORD dwOutputNum,
IWMOutputMediaProps* pOutput
);
Parameters
dwOutputNum
[in] Double word containing the output number.
pOutput
[in] Pointer to an output stream.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_INVALIDARG | The dwOutputNum parameter is greater than the number of outputs. |
E_UNEXPECTED | The method failed for an unspecified reason. |
Remarks
Manipulating the IWMOutputMediaProps interface has no effect on the output, unless the user also calls SetOutputProps.
See Also
Previous | Next |