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

# PFGameSaveFilesInitialize

> Initializes the PlayFab Game Save library instance.

Initializes the PlayFab Game Save library instance.

## Syntax

```cpp theme={null}
HRESULT PFGameSaveFilesInitialize(  
    PFGameSaveInitArgs* args  
)  
```

### Parameters

**`args`**   [PFGameSaveInitArgs\*](/services/playfab/api-references/c/pfgamesavefilestypes/structs/pfgamesaveinitargs)

TBD

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This will internally call PFInitialize(nullptr) if it hasn't been called already by the title. If control of PFCore background work is needed, the title should explicitly call PFInitialize and PFUninitialize.

## Requirements

**Header:** PFGameSaveFiles.h

## See also

[PFGameSaveFiles members](/services/playfab/api-references/c/pfgamesavefiles/pfgamesavefiles_members)
