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

# PartyAudioManipulationSinkStream::GetCustomContext

> 检索先前与此接收器流对象关联的应用私有的自定义指针大小的上下文值。

检索先前与此接收器流对象关联的应用私有的自定义指针大小的上下文值。

## 语法

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

### 参数

**`customContext`**   void\*\*
*输出,可能返回 nullptr*

输出的自定义上下文。

### 返回值

PartyError

如果调用成功,则返回 `c_partyErrorSuccess`;否则返回错误代码。可以通过 [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage) 检索错误代码的人类可读形式。

## 备注

如果尚未设置自定义上下文,则 `customContext` 指向的值设置为 nullptr。

## 要求

\*\*头文件:\*\*Party.h

## 另请参阅

[PartyAudioManipulationSinkStream](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/partyaudiomanipulationsinkstream)
[PartyAudioManipulationSinkStream::SetCustomContext](/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_setcustomcontext)


## Related topics

- [PartyAudioManipulationSinkStream::SetCustomContext](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_setcustomcontext.md)
- [PartyAudioManipulationSinkStream](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/partyaudiomanipulationsinkstream.md)
- [PartyAudioManipulationSinkStream::GetFormat](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getformat.md)
- [PartyAudioManipulationSinkStream::GetConfiguration](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSinkStream/methods/partyaudiomanipulationsinkstream_getconfiguration.md)
- [PartyAudioManipulationSourceStream::GetCustomContext](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyAudioManipulationSourceStream/methods/partyaudiomanipulationsourcestream_getcustomcontext.md)
