Microsoft DirectX 9.0


The get_Invert method retrieves a Boolean value indicating whether the key operation is inverted. This property applies to all key types except DXTKEY_ALPHA.


HRESULT get_Invert(
    BOOL *pVal



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

Value Description
TRUE Pixels in the overlying image are inverted with respect to the default operation.
FALSE Pixels in the overlying image are made transparent in the default manner.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument
S_OK Success


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

Library: Use strmiids.lib.

See Also