ePass1000 C/C++ API Reference Manual Version 2.0

# Constant

This section lists constant used by ePass1000 C/C++ API. For the latest list, see the epassapi.h file.

  Constant | Value
  --- | ---
  EPAS_ROOT_DIR | 0x0000
  EPAS_7816_ROOT_DIR | 0x3F00
  EPAS_AUTO_ID_BASE | 0xF0000
  EPAS_INDEX_FILE | 0xFFFF
  EPAS_TOKEN_NAME_FILE | 0xFFFE

  Constant | Value
  --- | ---
  EPAS_SYS_TYPE1 | 0x01
  EPAS_APP_NAME_SIZE | 0x20
  EPAS_FRIENDLY_NAME_SIZE | 0x20

  Constant | Value
  --- | ---
  EPAS_FILETYPE_UNUSED | 0x00
  EPAS_FILETYPE_DIR | 0x01
  EPAS_FILETYPE_DATA | 0x02
  EPAS_FILETYPE_KEY | 0x04
  EPAS_FILETYPE_UNKNOWN | 0xFF

  Constant | Value
  --- | ---
  EPAS_ACCESS_ANYONE | 0x00
  EPAS_ACCESS_USER | 0x01
  EPAS_ACCESS_OFFICER | 0x02
  EPAS_ACCESS_NONE | 0x07

  Constant | Value
  --- | ---
  EPAS_ACCESS_READ | 0x01
  EPAS_ACCESS_WRITE | 0x02
  EPAS_ACCESS_CRYPT | 0x04

  Constant | Value
  --- | ---
  EPAS_CAPS_MD5HMAC | 0x00000001

  Constant | Value
  --- | ---
  EPAS_OPEN_NEXT | 0x00000000
  EPAS_OPEN_FIRST | 0x00000001
  EPAS_OPEN_CURRENT | 0x00000002
  EPAS_OPEN_SPECIFIC | 0x00000003
  EPAS_OPEN_BY_NAME | 0x00000100
  EPAS_OPEN_BY_GUID | 0x00000200
  EPAS_OPEN_BY_GUID_STR | 0x00000300

  Constant | Value
  --- | ---
  EPAS_DIR_FROM_MF | 0x00000000
  EPAS_DIR_FROM_CUR_DF | 0x00000010
  EPAS_DIR_TO_PARENT | 0x00000020

  Constant | Value
  --- | ---
  EPAS_FILE_READ | 0x00000010
  EPAS_FILE_WRTE | 0x00000020
  EPAS_FILE_CRYPT | 0x00000040

  Constant | Value
  --- | ---
  EPAS_CREATE_AUTO_ID | 0x00010000

  Constant | Value
  --- | ---
  EPAS_CHANGE_USER_PIN | 0x00000000
  EPAS_UNBLOCK_USER_PIN | 0x00000001
  EPAS_CHANGE_SO_PIN | 0x00000002
  EPAS_CHANGE_NO_HASH | 0x00001000

  Constant | Value
  --- | ---
  EPAS_HASH_MD5_HMAC | 0x01

  Constant | Value
  --- | ---
  EPAS_PROP_CAPABILITIES | 0x00
  EPAS_PROP_MEM_SIZE | 0x01
  EPAS_PROP_ACCESSINFO | 0x03
  EPAS_PROP_APP_NAME | 0x04
  EPAS_PROP_APP_GUID | 0x05
  EPAS_PROP_VERSIONINFO | 0x06
  EPAS_PROP_SERNUM | 0x07
  EPAS_PROP_LED_ON | 0x08
  EPAS_PROP_LED_OFF | 0x09
  EPAS_PROP_FRIENDLY_NAME | 0x0B
  EPAS_PROP_SYSINFO | 0x0C