Microsoft DirectX 9.0

IDxtAlphaSetter::get_Alpha

The get_Alpha method retrieves the alpha value for the entire image.

Syntax

HRESULT get_Alpha(
    long *pAlpha
);

Parameters

pAlpha

[out, retval] Pointer to a variable that receives the alpha value. This alpha value will be applied to the entire target image. A negative value indicates that no alpha value is set.

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