> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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](https://docs.xbox.com/services/playfab/api-references/c/pfcore/pfcore_members.md)


## Related topics

- [PFServicesUninitializeAsync](https://docs.xbox.com/services/playfab/api-references/c/pfservices/functions/pfservicesuninitializeasync.md)
- [PFGameSaveFilesUninitializeAsync](https://docs.xbox.com/services/playfab/api-references/c/pfgamesavefiles/functions/pfgamesavefilesuninitializeasync.md)
- [SDK Lifecycle](https://docs.xbox.com/services/playfab/sdks/c/lifecycle.md)
- [Services C API overview - PFCore.h](https://docs.xbox.com/services/playfab/api-references/c/pfcore/pfcore_members.md)
- [Memory hooking](https://docs.xbox.com/services/playfab/sdks/c/memory.md)
