Microsoft DirectX 8.1 (C++)

_ICAManagerEvents::TollDenialAdded

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

The TollDenialAdded method is called when a denial is added to a toll.

Syntax

HRESULT TollDenialAdded(
  ICAToll*  pToll,
  ICADenial*  pDenial,
  long  cDenials
);

Parameters

  pToll

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

  pDenial

[in]  Pointer to the ICADenial interface of the new denial.

  cDenials

[in]  Number of denials that associated with this toll, including the new one.

Return Values

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

Remarks

When the number of denials goes from zero to one, the toll is disabled. The user cannot pay a toll while it is disabled.

The dispatch identifier (dispid) of this method is 2211.

See Also