IMSVidCtl::get_BackColor Method
This topic applies to Windows XP or later.
The get_BackColor method retrieves the background color of the Video Control.
Syntax
HRESULT get_BackColor(
[out] OLE_COLOR *pbackcolor
);
Parameters
- pbackcolor [out]
Pointer to a variable that receives an OLE_COLOR value.
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Examples
OLE_COLOR ocBack;
COLORREF clrBack;
pVideoControl->get_BackColor(&ocBack);
OleTranslateColor(ocBack, 0, &clrBack);
Requirements
Header | Declared in Dshow.h. |
DLL | Requires Quartz.dll. |
See Also
IMSVidCtl Interface
IMSVidCtl::put_BackColor
Send comments about this topic to Microsoft
Build date: 12/4/2008