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 typePROPVARIANT type (vt)PROPVARIANT member
Array of DWORD values (CAUL)VT_VECTOR | VT_UI4caul

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfplay.h

See also

Media Foundation Properties
MFP_MEDIAITEM_SET_EVENT

 

 

Show: