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

# PartyAudioManipulationSourceStream::GetCustomContext

> Retrieves the app's private, custom pointer-sized context value previously associated with this source stream object.

Retrieves the app's private, custom pointer-sized context value previously associated with this source stream object.

## Syntax

```cpp theme={null}
PartyError GetCustomContext(  
    void** customContext  
)  
```

### Parameters

**`customContext`**   void\*\*\
*output, may return nullptr*

The output custom context.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

## Remarks

If no custom context has been set yet, the value pointed to by `customContext` is set to nullptr.

## Requirements

**Header:** Party.h

## See also

[PartyAudioManipulationSourceStream](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/partyaudiomanipulationsourcestream)\
[PartyAudioManipulationSourceStream::SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_setcustomcontext)


## Related topics

- [PartyAudioManipulationSourceStream::SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_setcustomcontext.md)
- [PartyAudioManipulationSourceStream](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/partyaudiomanipulationsourcestream.md)
- [PartyAudioManipulationSinkStream::GetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getcustomcontext.md)
- [PartyAudioManipulationSourceStream::GetFormat](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getformat.md)
- [PartyAudioManipulationSourceStream::GetNextBuffer](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getnextbuffer.md)
