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

# XUserPlatformRemoteConnectClosePromptEventHandler

> XUserPlatformRemoteConnectClosePromptEventHandler

# XUserPlatformRemoteConnectClosePromptEventHandler

Close prompt for remote authentication event handler.

## Syntax

```cpp theme={null}
typedef void (XUserPlatformRemoteConnectClosePromptEventHandler)(
    _In_opt_ void* context,
    _In_ uint32_t userIdentifier,
    _In_ XUserPlatformOperation operation
);
```

### Parameters

*context*    \_In\_opt\_\
Type: void\*

Optional pointer to data used by the event handler.

*userIdentifier*    \_In\_\
Type: uint32\_t

The user identifier that was passed to XUser when the user was added.

*operation*    \_In\_\
Type: XUserPlatformOperation

The handle for this operation.

### Return value

## Remarks

This event is raised when the remote connect authentication process has been completed and the prompt is no longer necessary. This event will always be called with the same operation as a previous [`XUserPlatformRemoteConnectShowPromptEventHandler`](/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler) event.

All arguments are owned by the caller (except context).

## Requirements

**Header:** XUser.h

**Library:** xgameruntime.lib

**Supported platforms:** Supported on Steam Deck

## See also

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

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

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

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


## Related topics

- [XUserPlatformRemoteConnectEventHandlers](/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
- [XUserPlatformRemoteConnectCancelPrompt](/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)
- [XUserPlatformRemoteConnectSetEventHandlers](/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)
- [XUserPlatformOperationResult](/reference/system/xuser/enums/XUserPlatformOperationResult.md)
