MFPMediaItem_IsProtected

Queries whether the media item contains protected content.

MFPMediaItem_IsProtected PROTO pMediaItem:DWORD, pbProtected:DWORD

Parameters

  • pMediaItem - A pointer to the Media Item (IMFPMediaItem) object.

  • pbProtected - A pointer to a DWORD that contains TRUE or FALSE.

Returns

TRUE if successful or FALSE otherwise.

Notes

If media item contains protected content any attempt to play it will cause a playback error.

See Also

MFPMediaItem_HasAudio, MFPMediaItem_HasVideo