MFPMediaItem_GetObject

Gets the object that was used to create the media item.

MFPMediaItem_GetObject PROTO pMediaItem:DWORD, ppIUnknown:DWORD

Parameters

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

  • ppIUnknown - A pointer to a DWORD value used to store the object’s IUnknown interface.

Returns

TRUE if successful or FALSE otherwise.

Notes

The caller must release the interface.

The object pointer is set if the application uses CreateMediaItemFromObject to create the media item.

See Also

MFPMediaPlayer_CreateMediaItemFromObject