Skip to main content

XUserCloseSignOutDeferralHandle

Closes a specific user sign out deferral handle.

Syntax

Parameters

deferral   _In_
Type: XUserSignOutDeferralHandle
The user sign out deferral handle to close.

Return value

Type: void

Remarks

This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
To get the user sign out deferral handle, call XUserGetSignOutDeferral. To close the user the sign out deferral handle, call XUserCloseSignOutDeferralHandle. The following example demonstrates how to handle user change events.

Requirements

Header: XUser.h Library: xgameruntime.lib Supported platforms: Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

XUser XUserGetSignOutDeferral XUserCloseSignOutDeferralHandle
Last modified on August 20, 2026