GetPhysicalPresenceTransition method of the Win32_Tpm class
The GetPhysicalPresenceTransition method of the Win32_Tpm class indicates the user action that is needed to perform the Trusted Platform Module (TPM) physical presence operation. Use the SetPhysicalPresenceRequest method to request an operation. The required user action is set for your computer at the time of manufacture. Usually a computer restart is needed.
Syntax
uint32 GetPhysicalPresenceTransition(
[out] uint32 Transition
);
Parameters
-
Transition [out]
-
Type: uint32
An integer value that specifies the transition needed to perform a TPM physical presence operation.
Value Meaning - 0
No user action is needed to perform a TPM physical presence operation. - 1
To perform a TPM physical presence operation, the user must shutdown the computer and then turn it back on by using the power button. The user must be physically present at the computer to accept or reject the change when prompted by the BIOS. - 2
To perform a TPM physical presence operation, the user must restart the computer by using a warm reboot. The user must be physically present at the computer to accept or reject the change when prompted by the BIOS. - 3
The required user action is unknown.
Return value
Type: uint32
All TPM errors as well as errors specific to TPM Base Services can be returned.
The following table lists some of the common return codes.
Return code/value | Description |
---|---|
|
The method was successful. |
|
A hardware failure occurred. Consult your computer manufacturer for more information. |
Remarks
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Namespace |
Root\CIMV2\Security\MicrosoftTpm |
MOF |
|
DLL |
|
See also