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

# PFLocalizationGetLanguageListGetResultSize

> Reference for PFLocalizationGetLanguageListGetResultSize, which returns the buffer size in bytes needed for a GetLanguageList result in the PlayFab C API.

Get the size in bytes needed to store the result of a GetLanguageList call.

## Syntax

```cpp theme={null}
HRESULT PFLocalizationGetLanguageListGetResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### Parameters

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

**`bufferSize`**   size\_t\*<br />*output*

The buffer size in bytes required for the result.

### Return value

Type: HRESULT

Result code for this API operation. If the service call is unsuccessful, the result will be one of global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFLocalization.h

## See also

[PFLocalization members](/services/playfab/api-references/c/pflocalization/pflocalization_members)


## Related topics

- [PFLocalizationGetLanguageListAsync](/services/playfab/api-references/c/pflocalization/functions/pflocalizationgetlanguagelistasync.md)
- [Services C API overview - PFLocalization.h](/services/playfab/api-references/c/pflocalization/pflocalization_members.md)
- [PFLocalizationGetLanguageListGetResult](/services/playfab/api-references/c/pflocalization/functions/pflocalizationgetlanguagelistgetresult.md)
- [PFLocalizationGetLanguageListRequest](/services/playfab/api-references/c/pflocalizationtypes/structs/pflocalizationgetlanguagelistrequest.md)
- [PFLocalizationGetLanguageListResponse](/services/playfab/api-references/c/pflocalizationtypes/structs/pflocalizationgetlanguagelistresponse.md)
