MFPMediaPlayer_SetBorderColor

Sets the color for the video border. The border color is used to letterbox the video.

MFPMediaPlayer_SetBorderColor PROTO MediaPlayer:DWORD, Color:DWORD

Parameters

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

  • Color - Specifies the border color as a COLORREF value.

Returns

TRUE if successful or FALSE otherwise.

Notes

Default color is black.

See Also

MFPMediaPlayer_GetBorderColor