Windows Media Format SDK banner art
PreviousNext

IWMReader::SetOutputProps

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

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.