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 code | Description |
|---|---|
|
The method succeeded. |
|
ppSP is NULL. |
|
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 |
|
|
Library |
|
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