XDisplayCloseTimeoutDeferralHandle
Releases a screen timeout deferral previously acquired by calling XDisplayAcquireTimeoutDeferral.Syntax
Parameters
handle _In_Type: XDisplayTimeoutDeferralHandle A handle to the screen timeout deferral to close.
Return value
Type: voidRemarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
If you use XDisplayAcquireTimeoutDeferral to acquire a screen timeout deferral handle, you must close that handle by calling this function. Multiple screen timeout deferral handles can be acquired, and screen timeout is enabled for the game only after all screen timeout deferral handles are closed.
Requirements
Header: XDisplay.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XDisplayAcquireTimeoutDeferralXDisplay
