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

# PFEventPipelineAddUploadingEntity

> Adds an entity to an existing pipeline. All events emitted will be linked to this entity.

Adds an entity to an existing pipeline. All events emitted will be linked to this entity.

## Syntax

```cpp theme={null}
HRESULT PFEventPipelineAddUploadingEntity(  
    PFEventPipelineHandle eventPipelineHandle,  
    PFEntityHandle entityHandle  
)  
```

### Parameters

**`eventPipelineHandle`**   PFEventPipelineHandle

The existing EventPipeline handle to add the uploading entity.

**`entityHandle`**   PFEntityHandle

The Entity whose token will be used to make the PlayFab service requests in the background.

### Return value

Type: HRESULT

Result code for this API operation. Possible values are S\_OK, E\_PF\_NOT\_INITIALIZED or E\_FAIL.

## Requirements

**Header:** PFEventPipeline.h

## See also

[PFEventPipeline members](/services/playfab/api-references/c/pfeventpipeline/pfeventpipeline_members)


## Related topics

- [Event Pipeline Tutorial](/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [PlayFab Services SDK - Event Pipeline](/services/playfab/sdks/c/event-pipeline/eventpipeline.md)
- [Services C API overview - PFEventPipeline.h](/services/playfab/api-references/c/pfeventpipeline/pfeventpipeline_members.md)
- [PFEventPipelineRemoveUploadingEntity](/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelineremoveuploadingentity.md)
- [PFEventPipelineUpdateConfiguration](/services/playfab/api-references/c/pfeventpipeline/functions/pfeventpipelineupdateconfiguration.md)
