MFPMediaPlayer_GetVideoWindow

Gets the window where the video is displayed.

MFPMediaPlayer_GetVideoWindow PROTO MediaPlayer:DWORD, phwndVideo:DWORD

Parameters

  • MediaPlayer - A pointer to the Media Player (IMFPMediaPlayer) object.

  • phwndVideo - A pointer to a variable to hold the window handle.

Returns

TRUE if successful or FALSE otherwise.

Notes

The video window is specified when you first call MFPMediaPlayer_Init to create the MFPlay player object.

See Also

MFPMediaPlayer_Init, MFPMediaPlayer_UpdateVideo