Windows Media Format SDK banner art
PreviousNext

IWMReader::GetOutputCount

The GetOutputCount method retrieves the number of uncompressed streams that are sent from the reader.

Syntax

HRESULT GetOutputCount(
  DWORD*  pcOutputs
);

Parameters

  pcOutputs

[out]  Pointer to a count of outputs.

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 pcOutputs parameter is NULL.
E_UNEXPECTED The method failed for an unspecified reason.

Remarks

The user can enumerate through the various output streams, and get the output format for that data.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.