Export (0) Print
Expand All

TPMVSCMGR_ERROR enumeration

Provides predefined error codes to represent the contexts of errors from the TPM virtual smart card manager.

Syntax


typedef enum _TPMVSCMGR_ERROR { 
  TPMVSCMGR_ERROR_IMPERSONATION,
  TPMVSCMGR_ERROR_PIN_COMPLEXITY,
  TPMVSCMGR_ERROR_READER_COUNT_LIMIT,
  TPMVSCMGR_ERROR_TERMINAL_SERVICES_SESSION,
  TPMVSCMGR_ERROR_VTPMSMARTCARD_INITIALIZE,
  TPMVSCMGR_ERROR_VTPMSMARTCARD_CREATE,
  TPMVSCMGR_ERROR_VTPMSMARTCARD_DESTROY,
  TPMVSCMGR_ERROR_VGIDSSIMULATOR_INITIALIZE,
  TPMVSCMGR_ERROR_VGIDSSIMULATOR_CREATE,
  TPMVSCMGR_ERROR_VGIDSSIMULATOR_DESTROY,
  TPMVSCMGR_ERROR_VGIDSSIMULATOR_WRITE_PROPERTY,
  TPMVSCMGR_ERROR_VGIDSSIMULATOR_READ_PROPERTY,
  TPMVSCMGR_ERROR_VREADER_INITIALIZE,
  TPMVSCMGR_ERROR_VREADER_CREATE,
  TPMVSCMGR_ERROR_VREADER_DESTROY,
  TPMVSCMGR_ERROR_GENERATE_LOCATE_READER,
  TPMVSCMGR_ERROR_GENERATE_FILESYSTEM,
  TPMVSCMGR_ERROR_CARD_CREATE,
  TPMVSCMGR_ERROR_CARD_DESTROY
} TPMVSCMGR_ERROR;

Constants

TPMVSCMGR_ERROR_IMPERSONATION

Failed to impersonate the caller.

TPMVSCMGR_ERROR_PIN_COMPLEXITY

Ensure that your PIN/PUK meets the length or complexity requirements of your organization.

TPMVSCMGR_ERROR_READER_COUNT_LIMIT

The limit of the number of smart card readers has been reached.

TPMVSCMGR_ERROR_TERMINAL_SERVICES_SESSION

TPM virtual smart card management cannot be used within a Terminal Services session.

TPMVSCMGR_ERROR_VTPMSMARTCARD_INITIALIZE

Failed to initialize the virtual smart card manager.

TPMVSCMGR_ERROR_VTPMSMARTCARD_CREATE

Failed to create the virtual smart card manager.

TPMVSCMGR_ERROR_VTPMSMARTCARD_DESTROY

Failed to destroy the virtual smart card manager.

TPMVSCMGR_ERROR_VGIDSSIMULATOR_INITIALIZE

Failed to initialize the virtual smart card simulator.

TPMVSCMGR_ERROR_VGIDSSIMULATOR_CREATE

Failed to create the virtual smart card simulator.

TPMVSCMGR_ERROR_VGIDSSIMULATOR_DESTROY

Failed to destroy the virtual smart card simulator.

TPMVSCMGR_ERROR_VGIDSSIMULATOR_WRITE_PROPERTY

Failed to configure the virtual smart card simulator.

TPMVSCMGR_ERROR_VGIDSSIMULATOR_READ_PROPERTY

Failed to find the specified virtual smart card simulator.

TPMVSCMGR_ERROR_VREADER_INITIALIZE

Failed to initialize the virtual smart card reader.

TPMVSCMGR_ERROR_VREADER_CREATE

Failed to create the virtual smart card reader.

TPMVSCMGR_ERROR_VREADER_DESTROY

Failed to destroy the virtual smart card reader.

TPMVSCMGR_ERROR_GENERATE_LOCATE_READER

Failed to connect to the TPM smart card.

TPMVSCMGR_ERROR_GENERATE_FILESYSTEM

Failed to generate the file system on the TPM smart card.

TPMVSCMGR_ERROR_CARD_CREATE

Unable to create the TPM smart card.

TPMVSCMGR_ERROR_CARD_DESTROY

Unable to destroy the TPM smart card.

Remarks

These error codes are sent from the TPM virtual smart card manager COM server to the caller through the status callback interface, ITpmVirtualSmartCardManagerStatusCallback. Status callback interface implementations must interpret the error codes based on their predefined meanings and, if applicable, load localized message strings and update the user interface.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tpmvscmgr.h

IDL

Tpmvscmgr.idl

Type library

Vscmgr.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft