MFP_PKEY_StreamRenderingResults property
Important
Deprecated. This API may be removed from future releases of Windows. Applications should use the Media Session for playback.
Specifies which streams were connected successfully to a media sink.
Data type
PROPVARIANT type (vt)
PROPVARIANT member
Array of DWORD values (CAUL)
VT_VECTOR | VT_UI4
caul
Remarks
This property can be sent with the MFP_EVENT_TYPE_MEDIAITEM_SET event.
The value of the property is an array of HRESULTs. The array entries correspond to streams on the current media item. Each entry in the array indicates whether the corresponding stream was connected to a media sink, as follows:
- If the stream is connected to a media sink, the value is S_OK.
- If the stream is not selected, the value is S_FALSE.
- If an error occurred while attempting to connect the stream, the value is an error code.
If at least one stream was connected successfully, playback is possible. For example, the user might have the codec needed to play the audio stream but not to play the video stream.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for