Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IMFMediaSession::GetSessionCapabilities method (mfidl.h)
Retrieves the capabilities of the Media Session, based on the current presentation.
Syntax
HRESULT GetSessionCapabilities(
[out] DWORD *pdwCaps
);
Parameters
[out] pdwCaps
Receives a bitwise OR of zero or more of the following flags.
| Value | Meaning |
|---|---|
|
The Media Session can be paused. |
|
The Media Session supports forward playback at rates faster than 1.0. |
|
The Media Session supports reverse playback. |
|
The Media Session can be seeked. |
|
The Media Session can be started. |
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. |
|
NULL pointer argument. |
|
The Media Session has been shut down. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | mfidl.h |
| Library | Mfuuid.lib |
See also
Feedback
Was this page helpful?
