> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XUserPlatformSpopOperationResult

> XUserPlatformSpopOperationResult

# XUserPlatformSpopOperationResult

定義用戶端作業結果的列舉。

## 語法

```cpp theme={null}
typedef enum XUserPlatformSpopOperationResult {
    XUserPlatformSpopOperationResult_SignInHere = 0,
    XUserPlatformSpopOperationResult_SwitchAccount = 1,
    XUserPlatformSpopOperationResult_Failure = 2,
    XUserPlatformSpopOperationResult_Canceled = 3,
} XUserPlatformSpopOperationResult;
```

## 常數

| 常數 | 值 | 描述 |
| - | - | - |
| XUserPlatformSpopOperationResult\_SignInHere | 0 | 使用者同意登出現有工作階段，並在目前的裝置上登入。 |
| XUserPlatformSpopOperationResult\_SwitchAccount | 1 | 使用者選取了「切換帳戶」選項。 |
| XUserPlatformSpopOperationResult\_Failure | 2 | 用戶端作業發生無法復原的失敗。 |
| XUserPlatformSpopOperationResult\_Canceled | 3 | 用戶端作業已取消。 |

## 備註

## 需求

**標頭：** XUser.h

**支援的平台：** 在 Steam Deck 上受支援

## 另請參閱

[XUser](https://docs.xbox.com/zh-TW/reference/system/xuser/xuser_members.md)

[XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)

[XUserPlatformSpopPromptSetEventHandlers](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)

[XUserPlatformSpopPromptClearEventHandler](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler)

[XUserPlatformSpopPromptComplete](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)


## Related topics

- [XUserPlatformSpopPromptComplete](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopPromptEventHandler](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](https://docs.xbox.com/zh-TW/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUser 跨平台支援](https://docs.xbox.com/zh-TW/build/core-features/common/user/xuser-crossplatform.md)
- [XUser (API 內容)](https://docs.xbox.com/zh-TW/reference/system/xuser/xuser_members.md)
