Freigeben über


IMFVideoDisplayControl::GetBorderColor Method

Gets the border color for the video.

Syntax

HRESULT GetBorderColor(
  [out]  COLORREF *pClr
);

Parameter

  • pClr [out]
    Receives the border color, as a COLORREF value.

Rückgabewert

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Rückgabecode Beschreibung
S_OK

The method succeeded.

MF_E_SHUTDOWN

The video renderer has been shut down.

 

Hinweise

The border color is used for areas where the enhanced video renderer (EVR) does not draw any video.

The border color is not used for letterboxing. To get the letterbox color, call IMFVideoProcessor::GetBackgroundColor.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Evr.h

Bibliothek

Strmiids.lib

Siehe auch

IMFVideoDisplayControl

Enhanced Video Renderer

Using the Video Display Controls