Skip to main content

XUserPlatformRemoteConnectCancelPrompt

Signal to XUser that the remote connect prompt has been dismissed by the user.

Syntax

Parameters

operation
Type: XUserPlatformOperation
The handle for this operation

Return value

Type: HRESULT Result code for this API operation

Remarks

This should be called after a XUserPlatformRemoteConnectShowPromptEventHandler if the user dismisses the prompt. The whole remote connect process will be cancelled and the starting XUserAdd operation will complete with E_ABORT. TheXUserPlatformRemoteConnectClosePromptEventHandler will be called as normal.

Requirements

Header: XUser.h Library: xgameruntime.lib Supported platforms: Supported on Steam Deck

See also

XUserPlatformRemoteConnectShowPromptEventHandler XUserPlatformRemoteConnectClosePromptEventHandler XUserPlatformRemoteConnectSetEventHandlers XUserPlatformRemoteConnectEventHandlers
Last modified on August 4, 2026