Windows Media Format SDK banner art
PreviousNext

IWMStreamConfig::GetStreamType

The GetStreamType method retrieves the major type of the stream (audio, video, or script).

Syntax

HRESULT GetStreamType(
  GUID*  pguidStreamType
);

Parameters

  pguidStreamType

[out]  Pointer to a GUID object specifying the stream type.

Return Values

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

Return code Description
E_POINTER The pguidStreamType parameter is NULL.
GUID_NULL The pMediaType parameter is NULL.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.