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

# PFDataInitiateFileUploadsGetResultSize

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

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

## Syntax

```cpp theme={null}
HRESULT PFDataInitiateFileUploadsGetResultSize(  
    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 E\_PF\_ENTITY\_FILE\_OPERATION\_PENDING or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

## Requirements

**Header:** PFData.h

## See also

[PFData members](/services/playfab/api-references/c/pfdata/pfdata_members)


## Related topics

- [PFDataInitiateFileUploadsAsync](/services/playfab/api-references/c/pfdata/functions/pfdatainitiatefileuploadsasync.md)
- [Services C API overview - PFData.h](/services/playfab/api-references/c/pfdata/pfdata_members.md)
- [PFDataInitiateFileUploadsGetResult](/services/playfab/api-references/c/pfdata/functions/pfdatainitiatefileuploadsgetresult.md)
- [PFDataAbortFileUploadsGetResultSize](/services/playfab/api-references/c/pfdata/functions/pfdataabortfileuploadsgetresultsize.md)
- [PFDataFinalizeFileUploadsGetResultSize](/services/playfab/api-references/c/pfdata/functions/pfdatafinalizefileuploadsgetresultsize.md)
