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

# XUserPlatformSpopOperationResult

> XUserPlatformSpopOperationResult

# XUserPlatformSpopOperationResult

定义客户端操作结果的枚举。

## Syntax

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

## Constants

| 常量                                              | 值 | 说明                   |
| ----------------------------------------------- | - | -------------------- |
| XUserPlatformSpopOperationResult\_SignInHere    | 0 | 用户同意注销现有会话并在当前设备上登录。 |
| XUserPlatformSpopOperationResult\_SwitchAccount | 1 | 用户选择了“切换帐户”选项。       |
| XUserPlatformSpopOperationResult\_Failure       | 2 | 客户端操作出现无法恢复的失败。      |
| XUserPlatformSpopOperationResult\_Canceled      | 3 | 已取消客户端操作。            |

## Remarks

## Requirements

**头文件：** XUser.h

**受支持的平台：** Steam Deck 上受支持

## See also

[XUser](/reference/system/xuser/xuser_members)

[XUserPlatformSpopPromptEventHandler](/reference/system/xuser/functions/xuserplatformspopprompteventhandler)

[XUserPlatformSpopPromptSetEventHandlers](/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers)

[XUserPlatformSpopPromptClearEventHandler](/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler)

[XUserPlatformSpopPromptComplete](/reference/system/xuser/functions/xuserplatformspoppromptcomplete)


## Related topics

- [XUserPlatformSpopPromptComplete](/zh-CN/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopPromptEventHandler](/zh-CN/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](/zh-CN/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUserPlatformSpopPromptClearEventHandler](/zh-CN/reference/system/xuser/functions/xuserplatformspoppromptcleareventhandler.md)
- [XUser](/zh-CN/reference/system/xuser/xuser_members.md)
