Microsoft DirectX 9.0

IVMRWindowlessControl9::SetBorderColor

The SetBorderColor method sets the border color to be used by the VMR.

Syntax

HRESULT SetBorderColor(
  COLORREF  Clr
);

Parameters

Clr

[in]  Specifies the color as a COLORREF value.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

Remarks

The border color is used to fill any area of the destination rectangle that does not contain video. It is typically used in two situations:

Requirements

Include D3d9.h, Vmr9.h.

See Also