Skip to main content

XUserPlatformRemoteConnectCancelPrompt

向 XUser 發出訊號,表示使用者已關閉遠端連線提示。

語法

參數

operation
類型:XUserPlatformOperation
此作業的控制代碼

傳回值

類型:HRESULT 此 API 作業的結果碼

備註

如果使用者關閉提示,應在 XUserPlatformRemoteConnectShowPromptEventHandler 之後呼叫此函式。 整個遠端連線程序將會取消,且起始的 XUserAdd 作業會以 E_ABORT 完成。 XUserPlatformRemoteConnectClosePromptEventHandler 會如常被呼叫。

需求

標頭: XUser.h 程式庫: xgameruntime.lib 支援的平台: 在 Steam Deck 上支援

另請參閱

XUserPlatformRemoteConnectShowPromptEventHandler XUserPlatformRemoteConnectClosePromptEventHandler XUserPlatformRemoteConnectSetEventHandlers XUserPlatformRemoteConnectEventHandlers
Last modified on October 6, 2026