Tspi_TPM_GetStatus(3)
π Tspi_TPM_GetStatus(3) π
okay bestie, gather round, we're reading the Library Functions Manual of the TCG Software Stack Developer's Reference and honestly? it's giving iconic. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
Tspi_TPM_GetStatus β the girl whose entire job is querying the TPM's status π
πΈ SYNOPSIS πΈ
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>
TSS_RESULT Tspi_TPM_GetStatus(TSS_HTPM hTPM, TSS_FLAG statusFlag, BOOL* pfTpmState);
like yes, that's a lot of includes, she's high maintenance but worth it π
π¦ DESCRIPTION π¦
Tspi_TPM_GetStatus queries the status of the TPM, and returns a specific status based on whatever flags you specified. main character behaviour fr fr β¨
π¨ bestie, important: this command is not currently implemented. like, she's on the guest list but she is NOT showing up to the party. π do not build your whole vibe around her.
π PARAMETERS π
hTPMβ the handle of the TPM object. that's her ID, that's her passport, that's how we know which TPM we're talking about π«ΆstatusFlagβ the status you wanna retrieve. pick your flag, pick your destiny πfTpmStateβ lowkey the docs list this heading asfTpmState, but the parameter itself ispfTpmState, and it's a pointer to the value of the status queried. so she points at the answer. no cap π
π₯ RETURN CODES π₯
Tspi_TPM_GetStatus returns TSS_SUCCESS on success. otherwise, one of these lil gremlins comes back at you:
TSS_E_INVALID_HANDLEβhTPMis not a valid handle. she doesn't know her. blocked πTSS_E_INTERNAL_ERRORβ an internal SW error has been detected. something inside went wrong, not your fault babe πTSS_E_BAD_PARAMETERβ one or more parameters is bad. reread your args bestie π
π CONFORMING TO π
Tspi_TPM_GetStatus conforms to the Trusted Computing Group Software Specification version 1.1 Golden. yes, Golden. as it should be β¨
π SEE ALSO π
and that's the whole page bestie, no crumbs left π
this lil masterpiece comes to you from TSS 1.1, dated 2004-05-25 β vintage, iconic, ate and left no crumbs. mwah π π
π¦ where this page comes from
- debian bookworm: libtspi-dev 0.3.15-0.3 Β· BSD-3-Clause
- debian trixie: libtspi-dev 0.3.15-0.4 Β· BSD-3-Clause
- epel 10: trousers-devel 0.3.15-11.el10_0 Β· BSD
- epel 9: trousers-devel 0.3.15-5.el9 Β· BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-15.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: trousers-devel 0.3.15-16.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: trousers-devel 0.3.15-17.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: trousers 0.3.15
- nixpkgs unstable: netbsd-source 11.0
- nixpkgs unstable: trousers 0.3.15
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: trousers-devel 0.3.15-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libtspi-dev 0.3.15-0.2 Β· BSD-3-Clause
- ubuntu noble: libtspi-dev 0.3.15-0.3build2 Β· BSD-3-Clause
- ubuntu questing: libtspi-dev 0.3.15-0.4
- ubuntu resolute: libtspi-dev 0.3.15-1 Β· BSD-3-Clause
- ubuntu stonking: libtspi-dev 0.3.15-1ubuntu2 Β· BSD-3-Clause
- Copyright (C) 2004 International Business Machines Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms