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

# PFGameSaveFilesAddUserWithUiResult

> Retrieves the result of a call to PFGameSaveFilesAddUserWithUiAsync.

Retrieves the result of a call to PFGameSaveFilesAddUserWithUiAsync.

## Syntax

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

### Parameters

**`async`**   XAsyncBlock\*\
*Inout*

The XAsyncBlock that we pass to PFGameSaveFilesAddUserWithUiAsync.

### Return value

Type: HRESULT

Result code for this API operation.

## Requirements

**Header:** PFGameSaveFiles.h

## See also

[PFGameSaveFiles members](https://docs.xbox.com/services/playfab/api-references/c/pfgamesavefiles/pfgamesavefiles_members.md)


## Related topics

- [PFGameSaveFilesAddUserWithUiAsync](https://docs.xbox.com/services/playfab/api-references/c/pfgamesavefiles/functions/pfgamesavefilesadduserwithuiasync.md)
- [Services C API overview - PFGameSaveFiles.h](https://docs.xbox.com/services/playfab/api-references/c/pfgamesavefiles/pfgamesavefiles_members.md)
- [PFGameSaveFilesUiSyncFailedUserAction](https://docs.xbox.com/services/playfab/api-references/c/pfgamesavefilesui/enums/pfgamesavefilesuisyncfaileduseraction.md)
- [Game Saves error handling FAQ](https://docs.xbox.com/services/playfab/player-progression/game-saves/error-handling-faq.md)
- [PFGameSaveFilesUploadWithUiResult](https://docs.xbox.com/services/playfab/api-references/c/pfgamesavefiles/functions/pfgamesavefilesuploadwithuiresult.md)
