MFPMediaPlayer_GetBorderColor

Gets the current color of the video border. The border color is used to letterbox the video.

MFPMediaPlayer_GetBorderColor PROTO MediaPlayer:DWORD, pColor:DWORD

Parameters

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

  • pColor - Pointer to a DWORD that stores the border color (COLORREF) value.

Returns

TRUE if successful or FALSE otherwise.

Notes

Default color is black.

See Also

MFPMediaPlayer_SetBorderColor