Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The NotifyTollStateChanged method signals that the state of a toll has changed.
Syntax
objCADenial.NotifyTollStateChanged(
pToll As ICAToll,
enStateFrom As CATollState)
Parameters
pToll
Specifies the ICAToll object that changed.
enStateFrom
CATollState constant, specifying the previous state.
Error Codes
If the method fails, an error is raised and Err.Number is set to a value other than zero.
Return Values
This method does not return a value.
Remarks
This helper method triggers a StateChanged event. If the state switches to selected, this method unselects the other tolls in the collection. A toll that is attached to a denial should call this method whenever its own state changes.
See Also