Share via


XUserPlatformRemoteConnectSetEventHandlers

Sets the remote connect event handlers

Syntax

HRESULT XUserPlatformRemoteConnectSetEventHandlers(
    _In_opt_ XTaskQueueHandle queue,
    _In_ XUserPlatformRemoteConnectEventHandlers* handlers
) noexcept;

Parameters

queue
Type: XTaskQueueHandle (optional)

The async queue on which the callbacks should be invoked.

handlers
Type: XUserPlatformRemoteConnectEventHandlers

The event handlers.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

Requirements

Header: XUser.h

Library: xgameruntime.lib

Supported platforms: Supported on Steam Deck

See also

XUserPlatformRemoteConnectEventHandlers

XUserPlatformRemoteConnectShowPromptEventHandler

XUserPlatformRemoteConnectClosePromptEventHandler

XUserPlatformRemoteConnectCancelPrompt