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.
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
PowerUserPresentThe user is present in a local or remote session on the system. |
PowerUserNotPresentThe user is not present in any local or remote session on the system. |
PowerUserInactiveThe user is not active in any local or remote session on the system. |
PowerUserMaximumPowerUserMaximum = PowerUserInvalid. |
PowerUserInvalidInvalid 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) |