''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Copyright (c) Datacard Corporation.  All Rights Reserved.
'
' single-wire smartcard strings.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Namespace dxp01sdk
    Public Structure scard_strings
        Public Const SMARTCARD_PROTOCOL_CONTACTLESS As String = "SCARD_PROTOCOL_CL"
        Public Const SMARTCARD_PROTOCOL_RAW As String = "SCARD_PROTOCOL_RAW"
        Public Const SMARTCARD_PROTOCOL_T0 As String = "SCARD_PROTOCOL_T0"
        Public Const SMARTCARD_PROTOCOL_T0_OR_T1 As String = "SCARD_PROTOCOL_T0_OR_T1" ' printer returns this for contact
        Public Const SMARTCARD_PROTOCOL_T1 As String = "SCARD_PROTOCOL_T1"

        Public Const SMARTCARD_DISCONNECT_LEAVE As String = "SCARD_LEAVE_CARD"
        Public Const SMARTCARD_DISCONNECT_RESET As String = "SCARD_RESET_CARD"
        Public Const SMARTCARD_DISCONNECT_UNPOWER As String = "SCARD_UNPOWER_CARD"

        Public Const SMARTCARD_STATE_ABSENT As String = "SCARD_ABSENT"
        Public Const SMARTCARD_STATE_NEGOTIABLE As String = "SCARD_NEGOTIABLE"
        Public Const SMARTCARD_STATE_POWERED As String = "SCARD_POWERED"
        Public Const SMARTCARD_STATE_PRESENT As String = "SCARD_PRESENT"
        Public Const SMARTCARD_STATE_SPECIFIC As String = "SCARD_SPECIFIC"
        Public Const SMARTCARD_STATE_SWALLOWED As String = "SCARD_SWALLOWED"
        Public Const SMARTCARD_STATE_UNKNOWN As String = "SCARD_UNKNOWN"

        Public Const SMARTCARD_ATTR_VENDOR_NAME As String = "SCARD_ATTR_VENDOR_NAME"
        Public Const SMARTCARD_ATTR_VENDOR_IFD_TYPE As String = "SCARD_ATTR_VENDOR_IFD_TYPE"
        Public Const SMARTCARD_ATTR_VENDOR_IFD_VERSION As String = "SCARD_ATTR_VENDOR_IFD_VERSION"
        Public Const SMARTCARD_ATTR_VENDOR_IFD_SERIAL_NO As String = "SCARD_ATTR_VENDOR_IFD_SERIAL_NO"
        Public Const SMARTCARD_ATTR_ATR_STRING As String = "SCARD_ATTR_ATR_STRING"
        Public Const SMARTCARD_ATTR_CHANNEL_ID As String = "SCARD_ATTR_CHANNEL_ID"
        Public Const SMARTCARD_ATTR_CHARACTERISTICS As String = "SCARD_ATTR_CHARACTERISTICS"
        Public Const SMARTCARD_ATTR_CURRENT_BWT As String = "SCARD_ATTR_CURRENT_BWT"
        Public Const SMARTCARD_ATTR_CURRENT_CLK As String = "SCARD_ATTR_CURRENT_CLK"
        Public Const SMARTCARD_ATTR_CURRENT_CWT As String = "SCARD_ATTR_CURRENT_CWT"
        Public Const SMARTCARD_ATTR_CURRENT_D As String = "SCARD_ATTR_CURRENT_D"
        Public Const SMARTCARD_ATTR_CURRENT_EBC_ENCODING As String = "SCARD_ATTR_CURRENT_EBC_ENCODING"
        Public Const SMARTCARD_ATTR_CURRENT_F As String = "SCARD_ATTR_CURRENT_F"
        Public Const SMARTCARD_ATTR_CURRENT_IFSC As String = "SCARD_ATTR_CURRENT_IFSC"
        Public Const SMARTCARD_ATTR_CURRENT_IFSD As String = "SCARD_ATTR_CURRENT_IFSD"
        Public Const SMARTCARD_ATTR_CURRENT_IO_STATE As String = "SCARD_ATTR_CURRENT_IO_STATE"
        Public Const SMARTCARD_ATTR_CURRENT_N As String = "SCARD_ATTR_CURRENT_N"
        Public Const SMARTCARD_ATTR_CURRENT_PROTOCOL_TYPE As String = "SCARD_ATTR_CURRENT_PROTOCOL_TYPE"
        Public Const SMARTCARD_ATTR_CURRENT_W As String = "SCARD_ATTR_CURRENT_W"
        Public Const SMARTCARD_ATTR_DEFAULT_CLK As String = "SCARD_ATTR_DEFAULT_CLK"
        Public Const SMARTCARD_ATTR_DEFAULT_DATA_RATE As String = "SCARD_ATTR_DEFAULT_DATA_RATE"
        Public Const SMARTCARD_ATTR_DEVICE_IN_USE As String = "SCARD_ATTR_DEVICE_IN_USE"
        Public Const SMARTCARD_ATTR_DEVICE_SYSTEM_NAME_A As String = "SCARD_ATTR_DEVICE_SYSTEM_NAME"
        Public Const SMARTCARD_ATTR_DEVICE_SYSTEM_NAME_W As String = SMARTCARD_ATTR_DEVICE_SYSTEM_NAME_A
        Public Const SMARTCARD_ATTR_DEVICE_UNIT As String = "SCARD_ATTR_DEVICE_UNIT"
        Public Const SMARTCARD_ATTR_ESC_AUTHREQUEST As String = "SCARD_ATTR_ESC_AUTHREQUEST"
        Public Const SMARTCARD_ATTR_ESC_CANCEL As String = "SCARD_ATTR_ESC_CANCEL"
        Public Const SMARTCARD_ATTR_ESC_RESET As String = "SCARD_ATTR_ESC_RESET"
        Public Const SMARTCARD_ATTR_EXTENDED_BWT As String = "SCARD_ATTR_EXTENDED_BWT"
        Public Const SMARTCARD_ATTR_ICC_INTERFACE_STATUS As String = "SCARD_ATTR_ICC_INTERFACE_STATUS"
        Public Const SMARTCARD_ATTR_ICC_PRESENCE As String = "SCARD_ATTR_ICC_PRESENCE"
        Public Const SMARTCARD_ATTR_ICC_TYPE_PER_ATR As String = "SCARD_ATTR_ICC_TYPE_PER_ATR"
        Public Const SMARTCARD_ATTR_MAX_CLK As String = "SCARD_ATTR_MAX_CLK"
        Public Const SMARTCARD_ATTR_MAX_DATA_RATE As String = "SCARD_ATTR_MAX_DATA_RATE"
        Public Const SMARTCARD_ATTR_MAX_IFSD As String = "SCARD_ATTR_MAX_IFSD"
        Public Const SMARTCARD_ATTR_MAXINPUT As String = "SCARD_ATTR_MAXINPUT"
        Public Const SMARTCARD_ATTR_POWER_MGMT_SUPPORT As String = "SCARD_ATTR_POWER_MGMT_SUPPORT"
        Public Const SMARTCARD_ATTR_SUPRESS_T1_IFS_REQUEST As String = "SCARD_ATTR_SUPRESS_T1_IFS_REQUEST"
        Public Const SMARTCARD_ATTR_USER_AUTH_INPUT_DEVICE As String = "SCARD_ATTR_USER_AUTH_INPUT_DEVICE"
        Public Const SMARTCARD_ATTR_USER_TO_CARD_AUTH_DEVICE As String = "SCARD_ATTR_USER_TO_CARD_AUTH_DEVICE"

        Public Const SMARTCARD_ERR_E_BAD_SEEK As String = "SCARD_E_BAD_SEEK"
        Public Const SMARTCARD_ERR_E_CANCELLED As String = "SCARD_E_CANCELLED"
        Public Const SMARTCARD_ERR_E_CANT_DISPOSE As String = "SCARD_E_CANT_DISPOSE"
        Public Const SMARTCARD_ERR_E_CARD_UNSUPPORTED As String = "SCARD_E_CARD_UNSUPPORTED"
        Public Const SMARTCARD_ERR_E_CERTIFICATE_UNAVAILABLE As String = "SCARD_E_CERTIFICATE_UNAVAILABLE"
        Public Const SMARTCARD_ERR_E_COMM_DATA_LOST As String = "SCARD_E_COMM_DATA_LOST"
        Public Const SMARTCARD_ERR_E_DIR_NOT_FOUND As String = "SCARD_E_DIR_NOT_FOUND"
        Public Const SMARTCARD_ERR_E_DUPLICATE_READER As String = "SCARD_E_DUPLICATE_READER"
        Public Const SMARTCARD_ERR_E_FILE_NOT_FOUND As String = "SCARD_E_FILE_NOT_FOUND"
        Public Const SMARTCARD_ERR_E_ICC_CREATEORDER As String = "SCARD_E_ICC_CREATEORDER"
        Public Const SMARTCARD_ERR_E_ICC_INSTALLATION As String = "SCARD_E_ICC_INSTALLATION"
        Public Const SMARTCARD_ERR_E_INSUFFICIENT_BUFFER As String = "SCARD_E_INSUFFICIENT_BUFFER"
        Public Const SMARTCARD_ERR_E_INVALID_ATR As String = "SCARD_E_INVALID_ATR"
        Public Const SMARTCARD_ERR_E_INVALID_CHV As String = "SCARD_E_INVALID_CHV"
        Public Const SMARTCARD_ERR_E_INVALID_HANDLE As String = "SCARD_E_INVALID_HANDLE"
        Public Const SMARTCARD_ERR_E_INVALID_PARAMETER As String = "SCARD_E_INVALID_PARAMETER"
        Public Const SMARTCARD_ERR_E_INVALID_TARGET As String = "SCARD_E_INVALID_TARGET"
        Public Const SMARTCARD_ERR_E_INVALID_VALUE As String = "SCARD_E_INVALID_VALUE"
        Public Const SMARTCARD_ERR_E_NO_ACCESS As String = "SCARD_E_NO_ACCESS"
        Public Const SMARTCARD_ERR_E_NO_DIR As String = "SCARD_E_NO_DIR"
        Public Const SMARTCARD_ERR_E_NO_FILE As String = "SCARD_E_NO_FILE"
        Public Const SMARTCARD_ERR_E_NO_KEY_CONTAINER As String = "SCARD_E_NO_KEY_CONTAINER"
        Public Const SMARTCARD_ERR_E_NO_MEMORY As String = "SCARD_E_NO_MEMORY"
        Public Const SMARTCARD_ERR_E_NO_READERS_AVAILABLE As String = "SCARD_E_NO_READERS_AVAILABLE"
        Public Const SMARTCARD_ERR_E_NO_SERVICE As String = "SCARD_E_NO_SERVICE"
        Public Const SMARTCARD_ERR_E_NO_SMARTCARD As String = "SCARD_E_NO_SMARTCARD"
        Public Const SMARTCARD_ERR_E_NO_SUCH_CERTIFICATE As String = "SCARD_E_NO_SUCH_CERTIFICATE"
        Public Const SMARTCARD_ERR_E_NOT_READY As String = "SCARD_E_NOT_READY"
        Public Const SMARTCARD_ERR_E_NOT_TRANSACTED As String = "SCARD_E_NOT_TRANSACTED"
        Public Const SMARTCARD_ERR_E_PCI_TOO_SMALL As String = "SCARD_E_PCI_TOO_SMALL"
        Public Const SMARTCARD_ERR_E_PROTO_MISMATCH As String = "SCARD_E_PROTO_MISMATCH"
        Public Const SMARTCARD_ERR_E_READER_UNAVAILABLE As String = "SCARD_E_READER_UNAVAILABLE"
        Public Const SMARTCARD_ERR_E_READER_UNSUPPORTED As String = "SCARD_E_READER_UNSUPPORTED"
        Public Const SMARTCARD_ERR_E_SERVER_TOO_BUSY As String = "SCARD_E_SERVER_TOO_BUSY"
        Public Const SMARTCARD_ERR_E_SERVICE_STOPPED As String = "SCARD_E_SERVICE_STOPPED"
        Public Const SMARTCARD_ERR_E_SHARING_VIOLATION As String = "SCARD_E_SHARING_VIOLATION"
        Public Const SMARTCARD_ERR_E_SYSTEM_CANCELLED As String = "SCARD_E_SYSTEM_CANCELLED"
        Public Const SMARTCARD_ERR_E_TIMEOUT As String = "SCARD_E_TIMEOUT"
        Public Const SMARTCARD_ERR_E_UNEXPECTED As String = "SCARD_E_UNEXPECTED"
        Public Const SMARTCARD_ERR_E_UNKNOWN_CARD As String = "SCARD_E_UNKNOWN_CARD"
        Public Const SMARTCARD_ERR_E_UNKNOWN_READER As String = "SCARD_E_UNKNOWN_READER"
        Public Const SMARTCARD_ERR_E_UNKNOWN_RES_MNG As String = "SCARD_E_UNKNOWN_RES_MNG"
        Public Const SMARTCARD_ERR_E_UNSUPPORTED_FEATURE As String = "SCARD_E_UNSUPPORTED_FEATURE"
        Public Const SMARTCARD_ERR_E_WRITE_TOO_MANY As String = "SCARD_E_WRITE_TOO_MANY"
        Public Const SMARTCARD_ERR_F_COMM_ERROR As String = "SCARD_F_COMM_ERROR"
        Public Const SMARTCARD_ERR_F_INTERNAL_ERROR As String = "SCARD_F_INTERNAL_ERROR"
        Public Const SMARTCARD_ERR_F_UNKNOWN_ERROR As String = "SCARD_F_UNKNOWN_ERROR"
        Public Const SMARTCARD_ERR_F_WAITED_TOO_LONG As String = "SCARD_F_WAITED_TOO_LONG"
        Public Const SMARTCARD_ERR_P_SHUTDOWN As String = "SCARD_P_SHUTDOWN"
        Public Const SMARTCARD_ERR_S_SUCCESS As String = "SCARD_S_SUCCESS"
        Public Const SMARTCARD_ERR_W_CANCELLED_BY_USER As String = "SCARD_W_CANCELLED_BY_USER"
        Public Const SMARTCARD_ERR_W_CARD_NOT_AUTHENTICATED As String = "SCARD_W_CARD_NOT_AUTHENTICATED"
        Public Const SMARTCARD_ERR_W_CHV_BLOCKED As String = "SCARD_W_CHV_BLOCKED"
        Public Const SMARTCARD_ERR_W_EOF As String = "SCARD_W_EOF"
        Public Const SMARTCARD_ERR_W_REMOVED_CARD As String = "SCARD_W_REMOVED_CARD"
        Public Const SMARTCARD_ERR_W_RESET_CARD As String = "SCARD_W_RESET_CARD"
        Public Const SMARTCARD_ERR_W_SECURITY_VIOLATION As String = "SCARD_W_SECURITY_VIOLATION"
        Public Const SMARTCARD_ERR_W_UNPOWERED_CARD As String = "SCARD_W_UNPOWERED_CARD"
        Public Const SMARTCARD_ERR_W_UNRESPONSIVE_CARD As String = "SCARD_W_UNRESPONSIVE_CARD"
        Public Const SMARTCARD_ERR_W_UNSUPPORTED_CARD As String = "SCARD_W_UNSUPPORTED_CARD"
        Public Const SMARTCARD_ERR_W_WRONG_CHV As String = "SCARD_W_WRONG_CHV"
    End Structure
End Namespace

