Windows Media Format SDK banner art
PreviousNext

IWMProfile::GetStream

The GetStream method retrieves a stream from the profile, if the stream index is specified.

Syntax

HRESULT GetStream(
  DWORD  dwStreamIndex,
  IWMStreamConfig**  ppConfig
);

Parameters

  dwStreamIndex

[in]  Double word containing the stream index.

  ppConfig

[out]  Pointer to a pointer to an IWMStreamConfig object.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_FAIL The method failed for an unspecified reason.
E_INVALIDARG Invalid index specified.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.