> ## 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.

# XUserPlatformOperationResult

> XUserPlatformOperationResult

# XUserPlatformOperationResult

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

## Syntax

```cpp theme={null}
enum class XUserPlatformOperationResult : uint32_t
{
    Success = 0,
    Failure = 1,
    Canceled = 2
};
```

## Constants

| 常量       | 说明        |
| -------- | --------- |
| Success  | 客户端操作成功。  |
| Failure  | 客户端操作失败。  |
| Canceled | 客户端操作已取消。 |

## Remarks

## Requirements

**头文件：** XUser.h

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

## See also

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

[`XUserPlatformRemoteConnectShowPromptEventHandler`](/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler)

[`XUserPlatformRemoteConnectClosePromptEventHandler`](/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler)

[`XUserPlatformRemoteConnectSetEventHandlers`](/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers)

[`XUserPlatformRemoteConnectCancelPrompt`](/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt)

[`XUserPlatformRemoteConnectEventHandlers`](/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)


## Related topics

- [XUser](/zh-CN/reference/system/xuser/xuser_members.md)
- [XUserPlatformSpopOperationResult](/zh-CN/reference/system/xuser/enums/xuserplatformspopoperationresult.md)
- [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)
