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.
Sets the SPOP prompt event handler.
Syntax
STDAPI XUserPlatformSpopPromptSetEventHandlers(
_In_opt_ XTaskQueueHandle queue,
_In_ XUserPlatformSpopPromptEventHandler* handler,
_In_opt_ void* context
) noexcept;
Parameters
queue _In_opt_
Type: XTaskQueueHandle
handler _In_
Type: XUserPlatformSpopPromptEventHandler
The event handler to set for SPOP prompts. See XUserPlatformSpopPromptEventHandler
context _In_opt_
Type: void*
Return value
Type: STDAPI
Result code for this API operation.
Remarks
Must be called before XUserInitialize.
Requirements
Header: XUser.h
Library: xgameruntime.lib
Supported platforms: Supported on Steam Deck
See also
XUserPlatformSpopPromptEventHandler
XUserPlatformSpopPromptClearEventHandler