Export (0) Print
Expand All

TBS Return Codes

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

Constant/valueDescription
TBS_SUCCESS
0 (0x0)

The function succeeded.

TBS_E_INTERNAL_ERROR
2150121473 (0x80284001)

An internal software error occurred.

TBS_E_BAD_PARAMETER
2150121474 (0x80284002)

One or more parameter values are not valid.

TBS_E_INVALID_OUTPUT_POINTER
2150121475 (0x80284003)

A specified output pointer is bad.

TBS_E_INVALID_CONTEXT
2150121476 (0x80284004)

The specified context handle does not refer to a valid context.

TBS_E_INSUFFICIENT_BUFFER
2150121477 (0x80284005)

The specified output buffer is too small.

TBS_E_IOERROR
2150121478 (0x80284006)

An error occurred while communicating with the TPM.

TBS_E_INVALID_CONTEXT_PARAM
2150121479 (0x80284007)

A context parameter that is not valid was passed when attempting to create a TBS context.

TBS_E_SERVICE_NOT_RUNNING
2150121480 (0x80284008)

The TBS service is not running and could not be started.

TBS_E_TOO_MANY_TBS_CONTEXTS
2150121481 (0x80284009)

A new context could not be created because there are too many open contexts.

TBS_E_TOO_MANY_RESOURCES
2150121482 (0x8028400A)

A new virtual resource could not be created because there are too many open virtual resources.

TBS_E_SERVICE_START_PENDING
2150121483 (0x8028400B)

The TBS service has been started but is not yet running.

TBS_E_PPI_NOT_SUPPORTED
2150121484 (0x8028400C)

The physical presence interface is not supported.

TBS_E_COMMAND_CANCELED
2150121485 (0x8028400D)

The command was canceled.

TBS_E_BUFFER_TOO_LARGE
2150121486 (0x8028400E)

The input or output buffer is too large.

TBS_E_TPM_NOT_FOUND
2150121487 (0x8028400F)

A compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer.

TBS_E_SERVICE_DISABLED
2150121488 (0x80284010)

The TBS service has been disabled.

TBS_E_NO_EVENT_LOG
2150121489 (0x80284011)

The TBS event log is not available.

TBS_E_ACCESS_DENIED
2150121490 (0x80284012)

The caller does not have the appropriate rights to perform the requested operation.

TBS_E_PROVISIONING_NOT_ALLOWED
2150121491 (0x80284013)

The TPM provisioning action is not allowed by the specified flags.

TBS_E_PPI_FUNCTION_UNSUPPORTED
2150121492 (0x80284014)

The Physical Presence Interface of this firmware does not support the requested method.

TBS_E_OWNERAUTH_NOT_FOUND
2150121493 (0x80284015)

The requested TPM OwnerAuth value was not found.

TBS_E_PROVISIONING_INCOMPLETE
2150121493 (0x80284015)

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Tbs.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft