IVideoWindow::get_BorderColor method (control.h)

The get_BorderColor method retrieves the color that appears around the edges of the destination rectangle.

Syntax

HRESULT get_BorderColor(
  [out] long *Color
);

Parameters

[out] Color

Receives a COLORREF value.

Return value

Possible return values include the following:

Return code Description
E_POINTER
NULL pointer.
S_OK
Success.
VFW_E_NOT_CONNECTED
The video renderer filter is not connected.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header control.h (include Dshow.h)
Library Strmiids.lib

See also

Error and Success Codes

IVideoWindow Interface

IVideoWindow::put_BorderColor