Partager via


IVPNotify::GetColorControls (Compact 2013)

3/26/2014

This method retrieves the current color control settings associated with the specified overlay or primary surface.

Syntax

HRESULT GetColorControls(
  LPDDCOLORCONTROL* ppColorControl
) PURE;

Parameters

  • ppColorControl
    [out] Address of the DDCOLORCONTROL structure that will receive the current control settings of the specified surface.

    The dwFlags member of the DDCOLORCONTROL structure indicates which of the color control options are supported.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

In the current DirectShow implementation, this method returns NOERROR if successful, or E_INVALIDARG or E_FAIL upon failure.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVPNotify Interface