次の方法で共有


IMSVidCtl::put_ColorKey method (msvidctl.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The put_ColorKey method specifies the color key.

Syntax

HRESULT put_ColorKey(
  [in] OLE_COLOR NewValue
);

Parameters

[in] NewValue

Specifies the color key as an OLE_COLOR value.

Return value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The color key is used when the video renderer draws to an overlay surface.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msvidctl.h

See also

IMSVidCtl Interface

IMSVidCtl::get_ColorKey