Microsoft DirectX 8.1 (C++)

ICAManagerInternal::UpdateDefaultUIForToll

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The UpdateDefaultUIForToll method updates the Refund Toll and Pay Toll buttons in the default Conditional Access UI, to reflect the current state of a toll. The CA Manager automatically calls this method as needed.

Syntax

HRESULT UpdateDefaultUIForToll(
    ICAToll *pToll,
    CATollState enState
);

Parameters

  pToll

[in]  Pointer to the ICAToll interface of the toll.

  enState

[in]  Specifies the state of the toll, as a member of the CATollState enumeration.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

See Also