PrApi: Suspend

Suspend

Suspends the Passport Reader system.

 Public Function Suspend ( ) As Boolean

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function Suspend() As Boolean

[Delphi] function Suspend(): Boolean;

[C++] bool Suspend();

Remarks

This function may be called for example when the operating system tries to suspend or for power saving reasons you want to suspend the opened device. Depending on the type of the device and the control level set, different suspending levels can be reached. No events will be raised until the WakeUp method is called.

See Also

Class PrApi Overview PrApi Properties PrApi Methods SetStatusLed TestButton