Microsoft DirectX 9.0

IDxtKey::put_RGB

The put_RGB method specifies the RGB color on which to key. This property applies only when the key type is DXTKEY_RGB.

Syntax

HRESULT put_RGB(
    DWORD newVal
);

Parameters

newVal

[in] Specifies the color as a hexadecimal number with the format 0xRRGGBB, where RR is the red value, GG is the green value, and BB is the blue value.

Return Values

Returns S_OK or an error code.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also