Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The GetOverlaySurfaceColorControlsmethod retrieves the color control settings associated with the specified overlay surface.

Syntax

HRESULT GetOverlaySurfaceColorControls(
  LPDDCOLORCONTROL pColorControl
);

Parameters

Parameter Description

pColorControl

[out] Address of a pointer to the DDCOLORCONTROL structure containing the color values currently applied to the specified surface.

Return Value

Returns an HRESULTvalue. If the allocator on the pin is not using an overlay surface, the method returns E_FAIL.

See Also