Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The SetBorderColor method specifies to the VMR which color to use in areas of the display rectangle which are not being used for video, for example when the video is letterboxed.
Syntax
HRESULT SetBorderColor(
COLORREF clrBorder
);
Parameters
clrBorder
[in] Specifies the border color.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
See Also