TBS Return Codes

Header: tbs.h

TBS uses the following codes to indicate the result of a function call.

SymbolicCodeDescription
TBS_SUCCESS0x0The function succeeded.
TBS_E_INTERNAL_ERROR0x80284001An internal software error occurred.
TBS_E_BAD_PARAMETER0x80284002One or more parameter values are not valid.
TBS_E_INVALID_OUTPUT_POINTER0x80284003A specified output pointer is bad.
TBS_E_INVALID_CONTEXT0x80284004The specified context handle does not refer to a valid context.
TBS_E_INSUFFICIENT_BUFFER0x80284005The specified output buffer is too small.
TBS_E_IOERROR0x80284006An error occurred while communicating with the TPM.
TBS_E_INVALID_CONTEXT_PARAM0x80284007A context parameter that is not valid was passed when attempting to create a TBS context.
TBS_E_SERVICE_NOT_RUNNING0x80284008The TBS service is not running and could not be started.
TBS_E_TOO_MANY_TBS_CONTEXTS0x80284009A new context could not be created because there are too many open contexts.
TBS_E_TOO_MANY_RESOURCES0x8028400AA new virtual resource could not be created because there are too many open virtual resources.
TBS_E_SERVICE_START_PENDING0x8028400BThe TBS service has been started but is not yet running.
TBS_E_PPI_NOT_SUPPORTED0x8028400CThe physical presence interface is not supported.
TBS_E_COMMAND_CANCELED0x8028400DThe command was canceled.
TBS_E_BUFFER_TOO_LARGE0x8028400EThe input or output buffer is too large.
TBS_E_TPM_NOT_FOUND0x8028400FA compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer.
TBS_E_SERVICE_DISABLED0x80284010The TBS service has been disabled.
TBS_E_NO_EVENT_LOG0x80284011The TBS event log is not available.
TBS_E_ACCESS_DENIED0x80284012The caller does not have the appropriate rights to perform the requested operation.
TBS_E_PROVISIONING_NOT_ALLOWED0x80284013The TPM provisioning action is not allowed by the specified flags.
TBS_E_PPI_FUNCTION_UNSUPPORTED0x80284014The Physical Presence Interface of this firmware does not support the requested method.
TBS_E_OWNERAUTH_NOT_FOUND0x80284015The requested TPM OwnerAuth value was not found.
TBS_E_PROVISIONING_INCOMPLETE0x80284016The 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.