ePass1000 C/C++ API Reference Manual Version 2.0 |
The epas_CloseDevice function closes the session between application and device which has been opened with the epas_OpenDevice functions. When epas_CloseDevice is invoked, application releases exclusive ownership of the device.
EPAS_STATUS EPAS_API epas_CloseDevice( EPAS_HANDLE hContextHandle // [in] );
epas_CreateContext, epas_OpenDevice
This function does not reset Security State of the token. To reset the Security State, use epas_ResetSecurityState.
If the function succeeds, FT_SUCCESS returned.
For a list of all return codes, see Status Return Values.
EPAS_STATUS epsRet; EPAS_HANDLE handle; . . . epsRet = epas_CloseDevice(handle);. . . .