USER_ACTIVITY_PRESENCE enumeration (winnt.h)
Specifies the presence of a user for the purposes of power management based on activity detected.
Syntax
typedef enum _USER_ACTIVITY_PRESENCE {
PowerUserPresent,
PowerUserNotPresent,
PowerUserInactive,
PowerUserMaximum,
PowerUserInvalid
} USER_ACTIVITY_PRESENCE, *PUSER_ACTIVITY_PRESENCE;
Constants
PowerUserPresent The user is present in a local or remote session on the system. |
PowerUserNotPresent The user is not present in any local or remote session on the system. |
PowerUserInactive The user is not active in any local or remote session on the system. |
PowerUserMaximum PowerUserMaximum = PowerUserInvalid. |
PowerUserInvalid Invalid state. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winnt.h (include Windows.h) |