Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides predefined error codes to represent the contexts of errors from the TPM virtual smart card manager.
Syntax
typedef enum __MIDL___MIDL_itf_tpmvscmgr_0000_0000_0002 {
TPMVSCMGR_ERROR_IMPERSONATION = 0,
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_IMPERSONATIONValue: 0 Failed to impersonate the caller. |
TPMVSCMGR_ERROR_PIN_COMPLEXITYEnsure that your PIN/PUK meets the length or complexity requirements of your organization. |
TPMVSCMGR_ERROR_READER_COUNT_LIMITThe limit of the number of smart card readers has been reached. |
TPMVSCMGR_ERROR_TERMINAL_SERVICES_SESSIONTPM virtual smart card management cannot be used within a Terminal Services session. |
TPMVSCMGR_ERROR_VTPMSMARTCARD_INITIALIZEFailed to initialize the virtual smart card manager. |
TPMVSCMGR_ERROR_VTPMSMARTCARD_CREATEFailed to create the virtual smart card manager. |
TPMVSCMGR_ERROR_VTPMSMARTCARD_DESTROYFailed to destroy the virtual smart card manager. |
TPMVSCMGR_ERROR_VGIDSSIMULATOR_INITIALIZEFailed to initialize the virtual smart card simulator. |
TPMVSCMGR_ERROR_VGIDSSIMULATOR_CREATEFailed to create the virtual smart card simulator. |
TPMVSCMGR_ERROR_VGIDSSIMULATOR_DESTROYFailed to destroy the virtual smart card simulator. |
TPMVSCMGR_ERROR_VGIDSSIMULATOR_WRITE_PROPERTYFailed to configure the virtual smart card simulator. |
TPMVSCMGR_ERROR_VGIDSSIMULATOR_READ_PROPERTYFailed to find the specified virtual smart card simulator. |
TPMVSCMGR_ERROR_VREADER_INITIALIZEFailed to initialize the virtual smart card reader. |
TPMVSCMGR_ERROR_VREADER_CREATEFailed to create the virtual smart card reader. |
TPMVSCMGR_ERROR_VREADER_DESTROYFailed to destroy the virtual smart card reader. |
TPMVSCMGR_ERROR_GENERATE_LOCATE_READERFailed to connect to the TPM smart card. |
TPMVSCMGR_ERROR_GENERATE_FILESYSTEMFailed to generate the file system on the TPM smart card. |
TPMVSCMGR_ERROR_CARD_CREATEUnable to create the TPM smart card. |
TPMVSCMGR_ERROR_CARD_DESTROYUnable 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Header | tpmvscmgr.h |