TBS Return Codes
Header: tbs.h
TBS uses the following codes to indicate the result of a function call.
| Symbolic | Code | Description |
|---|---|---|
| TBS_SUCCESS | 0x0 | The function succeeded. |
| TBS_E_INTERNAL_ERROR | 0x80284001 | An internal software error occurred. |
| TBS_E_BAD_PARAMETER | 0x80284002 | One or more parameter values are not valid. |
| TBS_E_INVALID_OUTPUT_POINTER | 0x80284003 | A specified output pointer is bad. |
| TBS_E_INVALID_CONTEXT | 0x80284004 | The specified context handle does not refer to a valid context. |
| TBS_E_INSUFFICIENT_BUFFER | 0x80284005 | The specified output buffer is too small. |
| TBS_E_IOERROR | 0x80284006 | An error occurred while communicating with the TPM. |
| TBS_E_INVALID_CONTEXT_PARAM | 0x80284007 | A context parameter that is not valid was passed when attempting to create a TBS context. |
| TBS_E_SERVICE_NOT_RUNNING | 0x80284008 | The TBS service is not running and could not be started. |
| TBS_E_TOO_MANY_TBS_CONTEXTS | 0x80284009 | A new context could not be created because there are too many open contexts. |
| TBS_E_TOO_MANY_RESOURCES | 0x8028400A | A new virtual resource could not be created because there are too many open virtual resources. |
| TBS_E_SERVICE_START_PENDING | 0x8028400B | The TBS service has been started but is not yet running. |
| TBS_E_PPI_NOT_SUPPORTED | 0x8028400C | The physical presence interface is not supported. |
| TBS_E_COMMAND_CANCELED | 0x8028400D | The command was canceled. |
| TBS_E_BUFFER_TOO_LARGE | 0x8028400E | The input or output buffer is too large. |
| TBS_E_TPM_NOT_FOUND | 0x8028400F | A compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer. |
| TBS_E_SERVICE_DISABLED | 0x80284010 | The TBS service has been disabled. |
| TBS_E_NO_EVENT_LOG | 0x80284011 | The TBS event log is not available. |
| TBS_E_ACCESS_DENIED | 0x80284012 | The caller does not have the appropriate rights to perform the requested operation. |
| TBS_E_PROVISIONING_NOT_ALLOWED | 0x80284013 | The TPM provisioning action is not allowed by the specified flags. |
| TBS_E_PPI_FUNCTION_UNSUPPORTED | 0x80284014 | The Physical Presence Interface of this firmware does not support the requested method. |
| TBS_E_OWNERAUTH_NOT_FOUND | 0x80284015 | The requested TPM OwnerAuth value was not found. |
| TBS_E_PROVISIONING_INCOMPLETE | 0x80284016 | The TPM provisioning did not complete. For more information on completing the provisioning, call the Win32_Tpm WMI method for provisioning the TPM ('Provision') and check the returned information. |
| 23 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.