Microsoft DirectX 8.1 (C++)

TollDenialAdded Event

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

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

Syntax

object_TollDenialAdded(
    Toll As ICAToll, 
    Denial As ICADenial, 
    cDenials As Long)

Parameters

  Toll

Specifies the ICAToll object that received the denial.

  Denial

Specifies the ICADenial object that was added.

  cDenials

Specifies the number of denials on this toll, including the new one.

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.