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.
Obtains the version of the TPM on the computer.
Syntax
TBS_RESULT Tbsi_GetDeviceInfo(
[in] UINT32 Size,
[out] PVOID Info
);
Parameters
[in] Size
Size of the memory location.
[out] Info
A pointer to a TPM_DEVICE_INFO structure is returned containing the version information about the TPM. The location must be large enough to hold four 32-bit values.
Return value
If the function succeeds, the function returns TBS_SUCCESS.
If the function fails, it returns a TBS return code that indicates the error.
Return code/value | Description |
---|---|
|
The function was successful. |
|
One or more parameter values are not valid. |
|
A compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | tbs.h |
Library | Tbs.lib |
DLL | Tbs.dll |