TBS Return Codes
TBS uses the following codes to indicate the result of a function call.
Constant/value | Description |
---|---|
|
The function succeeded. |
|
An internal software error occurred. |
|
One or more parameter values are not valid. |
|
A specified output pointer is bad. |
|
The specified context handle does not refer to a valid context. |
|
The specified output buffer is too small. |
|
An error occurred while communicating with the TPM. |
|
A context parameter that is not valid was passed when attempting to create a TBS context. |
|
The TBS service is not running and could not be started. |
|
A new context could not be created because there are too many open contexts. |
|
A new virtual resource could not be created because there are too many open virtual resources. |
|
The TBS service has been started but is not yet running. |
|
The physical presence interface is not supported. |
|
The command was canceled. |
|
The input or output buffer is too large. |
|
A compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer. |
|
The TBS service has been disabled. |
|
The TBS event log is not available. |
|
The caller does not have the appropriate rights to perform the requested operation. |
|
The TPM provisioning action is not allowed by the specified flags. |
|
The Physical Presence Interface of this firmware does not support the requested method. |
|
The requested TPM OwnerAuth value was not found. |
|
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. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for