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

# XUserPlatformSpopPromptClearEventHandler

> XUserPlatformSpopPromptClearEventHandler

# XUserPlatformSpopPromptClearEventHandler

Clears the SPOP prompt event handler in XUser.

## Syntax

```cpp theme={null}
STDAPI  XUserPlatformSpopPromptClearEventHandler();
```

### Return value

Type: STDAPI

Result code for this API operation.

## Remarks

Must be called before XUserInitialize or after XUserCleanupAsync completes.

## Requirements

**Header:** XUser.h

**Library:** xgameruntime.lib

**Supported platforms:** Supported on Steam Deck

## See also

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

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

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

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

[XUserPlatformSpopOperationResult](/reference/system/xuser/enums/xuserplatformspopoperationresult)


## Related topics

- [XUserPlatformSpopPromptEventHandler](/reference/system/xuser/functions/xuserplatformspopprompteventhandler.md)
- [XUserPlatformSpopPromptSetEventHandlers](/reference/system/xuser/functions/xuserplatformspoppromptseteventhandlers.md)
- [XUserPlatformSpopPromptComplete](/reference/system/xuser/functions/xuserplatformspoppromptcomplete.md)
- [XUserPlatformSpopOperationResult](/reference/system/xuser/enums/xuserplatformspopoperationresult.md)
- [XUser](/reference/system/xuser/xuser_members.md)
