Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The PayToll method initiates payment of the toll.
Syntax
HRESULT PayToll();
Parameters
This method takes no parameters.
Return Values
Returns an HRESULT value. Possible values include the following.
Return code | Description |
S_FALSE | Payment was not completed. |
S_OK | Success. |
Remarks
This method starts the process of paying the toll. Depending on the implementation, the toll might require further interaction with the user, or some other kind of verification. Examples might include accessing a credit card account, or requesting the user to enter a password.
If payment is not completed, the method returns S_FALSE or an error code.
Successful payment has the following effects:
See Also