语法
参数
customContext void**
输出,可能返回 nullptr
输出的自定义上下文。
返回值
PartyError 如果检索自定义上下文成功,则返回c_partyErrorSuccess;否则返回错误代码。可以通过 PartyManager::GetErrorMessage() 检索错误代码的人类可读形式。
备注
如果尚未设置自定义上下文,则customContext 指向的值设置为 nullptr。
检索先前与此设备对象关联的应用私有的自定义指针大小的上下文值。
customContext void**
输出,可能返回 nullptr
输出的自定义上下文。
c_partyErrorSuccess;否则返回错误代码。可以通过 PartyManager::GetErrorMessage() 检索错误代码的人类可读形式。
customContext 指向的值设置为 nullptr。
相关主题
PartyDevice::SetCustomContextPartyInvitation::GetCustomContextPartyNetwork::GetCustomContextPartyEndpoint::GetCustomContextPartyLocalUser::GetCustomContext