Microsoft DirectX 9.0


The GetBlendingParameter method retrieves the value of the blending parameter that defines how a secondary stream is blended with a primary stream.


HRESULT GetBlendingParameter(
  DWORD *pdwBlendingParameter



[out] Pointer to a value between 0 and 255 that indicates the amount of blending between a primary stream and a secondary stream.

Return Value

Returns an HRESULT value. Possible values include the following:

Value Description
E_UNEXPECTED Method called on primary stream.
E_INVALIDARG Value outside of possible range (0-255).
S_OK Success.


A value of zero indicates that the secondary stream is invisible; a value of 255 indicates the primary stream is invisible in the area that the secondary stream occupies.

See Also