Share via


XUserPlatformRemoteConnectEventHandlers

Encapsulates the remote connect event handlers

Syntax

typedef struct XUserPlatformRemoteConnectEventHandlers {
    XUserPlatformRemoteConnectShowPromptEventHandler* show;
    XUserPlatformRemoteConnectClosePromptEventHandler* close;
    void* context;
} XUserPlatformRemoteConnectEventHandlers;

Members

show Type: XUserPlatformRemoteConnectShowPromptEventHandler*

Shows the prompt handler

close Type: XUserPlatformRemoteConnectClosePromptEventHandler*

Closes the prompt handler

context Type: void*

Optional pointer to data used by the event handlers.

Remarks

Both handlers must be set at the same time.

Requirements

Header: XUser.h

Supported platforms: Supported on Steam Deck

See also

XUser

XUserPlatformRemoteConnectShowPromptEventHandler

XUserPlatformRemoteConnectClosePromptEventHandler

XUserPlatformRemoteConnectSetEventHandlers

XUserPlatformRemoteConnectCancelPrompt