ePass1000 C/C++ API Reference Manual Version 2.0

# epas_ResetSecurityState

The epas_ResetSecurityState function switch current security state of the device to Guest State. This function also automatically close current opened file.

    EPAS_STATUS EPAS_API
    epas_ResetSecurityState(
        EPAS_HANDLE hContextHandle,    // [in]
        unsigned long ulFlags          // [in]
    );

#### Requirement

epas_CreateContext, epas_OpenDevice

#### Parameters

hContextHandle
  [in] Handle to device context.
ulFlags
  [in] Reserved for future extension. Must be set to zero.

#### Return Values

If the function succeeds, FT_SUCCESS returned.

For a list of all return codes, see Status Return Values.

#### See Also

epas_Verify, epas_ChangeCode