Microsoft DirectX 9.0

IDxtKey::get_KeyType

The get_KeyType method retrieves the type of key.

Syntax

HRESULT get_KeyType(
    int *pVal
);

Parameters

pVal

[out, retval] Pointer to a variable that receives one of the following enumeration values.

Value Description
DXTKEY_RGB Chroma key. (Key on RGB value.)
DXTKEY_NONRED Nonred key. (Makes blue and green areas transparent.)
DXTKEY_LUMINANCE Luminance key.
DXTKEY_ALPHA Key by alpha value.
DXTKEY_HUE Key by hue.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument
S_OK Success

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