Microsoft DirectX 8.1 (C++)

ICAToll.Select

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

The Select method selects or unselects a toll.

Syntax

objCAToll.Select(
    fSelect As Long)

Parameters

  fSelect

Boolean value. To select the toll, set the value to TRUE. To unselect the toll, set the value to FALSE.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

No return value.

Remarks

In order to pay a toll, the user must select it. Only one toll in a collection can be selected at one time. A change in the selection state causes a StateChanged event.

Exception: The Conditional Access (CA) Manager maintains a collection of unpaid tolls. More than one toll in this collection can be selected, and selecting a toll does not fire an event.

See Also