Skip to main content

XUserState

Specifies the current state of the user.

Syntax

Constants

Remarks

To get the state of a given user, call the XUserGetState function. The function accepts a pointer to an XUserState enumeration as an argument. To monitor changes in the state of a user, subscribe to XUserChangeEvent by calling XUserRegisterForChangeEvent.

Requirements

Header: XUser.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XUser XUserChangeEvent XUserRegisterForChangeEvent
Last modified on August 20, 2026