XUserPlatformRemoteConnectCancelPrompt

向 XUser 发出信号,表明远程连接提示已被用户关闭。

语法

STDAPI  XUserPlatformRemoteConnectCancelPrompt(
    _In_ XUserPlatformOperation operation
) noexcept;

参数

操作
类型:XUserPlatformOperation

此作的句柄

返回值

类型:HRESULT

此 API作的结果代码

备注

如果用户关闭提示,则应在 XUserPlatformRemoteConnectShowPromptEventHandler 之后调用此项。

将取消整个远程连接过程,并且开始的 XUserAdd作将完成E_ABORT。

将按正常方式调用 XUserPlatformRemoteConnectClosePromptEventHandler。

要求

头文件:XUser.h

库:xgameruntime.lib

支持的平台: Steam Deck 上支持

另请参阅

XUserPlatformRemoteConnectShowPromptEventHandler

XUserPlatformRemoteConnectClosePromptEventHandler

XUserPlatformRemoteConnectSetEventHandlers

XUserPlatformRemoteConnectEventHandlers