Microsoft DirectX 9.0

IVMRMixerControl9::GetAlpha

The GetAlpha method retrieves the constant alpha value that is applied to this video stream.

Syntax

HRESULT GetAlpha(
  DWORD  dwStreamID,
  float*  pAlpha
);

Parameters

dwStreamID

[in]  Specifies the input stream.

pAlpha

[out]  Pointer to a variable that receives the current alpha value.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
E_POINTER pAlpha is invalid.
VFW_E_NOT_CONNECTED The pin is not connected.

Requirements

Include D3d9.h, Vmr9.h.

See Also