This topic has not yet been rated - Rate this topic

IWMProfile3::GetStreamPrioritization method

The GetStreamPrioritization method retrieves the stream prioritization that exists in the profile.

Syntax


HRESULT GetStreamPrioritization(
  [out]  IWMStreamPrioritization **ppSP
);

Parameters

ppSP [out]

Pointer to receive the address of the IWMStreamPrioritization interface of the stream prioritization object in the profile.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_INVALIDARG

ppSP is NULL.

E_OUTOFMEMORY

The method is unable to allocate memory for the stream prioritization object

 

Remarks

Many profiles do not have a stream prioritization assigned to them. If you call GetStreamPrioritization on such a profile, no error is returned, but the retrieved address is NULL.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Version

Windows Media Format 9 Series SDK, or later versions of the SDK

Header

Wmsdkidl.h (include Wmsdk.h)

Library

Wmvcore.lib (WMStubDRM.lib if you use DRM)

See also

IWMProfile3 Interface
IWMProfile3::RemoveStreamPrioritization
IWMProfile3::SetStreamPrioritization
IWMStreamPrioritization Interface
Stream Prioritization Object

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.