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

# PFUninitializeAsync

> Cleanup PlayFab global state.

Cleanup PlayFab global state.

## Syntax

```cpp theme={null}
HRESULT PFUninitializeAsync(  
    XAsyncBlock* async  
)  
```

### Parameters

**`async`**   XAsyncBlock\*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

Asynchronous result returned via XAsyncGetStatus.

## Requirements

**Header:** PFCore.h

## See also

[PFCore members](/services/playfab/api-references/c/pfcore/pfcore_members)


## Related topics

- [PFServicesUninitializeAsync](/services/playfab/api-references/c/pfservices/functions/pfservicesuninitializeasync.md)
- [SDK Lifecycle](/services/playfab/sdks/c/lifecycle.md)
- [Services C API overview - PFCore.h](/services/playfab/api-references/c/pfcore/pfcore_members.md)
- [Memory hooking](/services/playfab/sdks/c/memory.md)
- [PFMultiplayerUninitialize](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayer/functions/pfmultiplayeruninitialize.md)
