Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The StateChanged method is called when the state of a toll changes.
Syntax
HRESULT StateChanged(
ICAToll* pToll,
CATollState enStateFrom
);
Parameters
pToll
[in] Pointer to the ICAToll interface of the toll.
enStateFrom
[in] Member of the CATollState Enumeration type that specifies the previous state.
Return Values
Return S_OK or an error code.
Remarks
The dispatch identifier (dispid) of this method is 3.
See Also