检索以前与此设备对象关联的应用的自定义指针大小的自定义上下文值。
语法
PartyError GetCustomContext(
void** customContext
)
参数
customContext void**
输出,可能会返回 nullptr
输出自定义上下文。
返回值
PartyError
如果成功检索自定义上下文,则为 c_partyErrorSuccess,否则为错误代码。 可通过 PartyManager::GetErrorMessage() 检索错误代码的可读形式。
备注
如果尚未设置自定义上下文,则 customContext 指向的值设置为 nullptr。
要求
标题: Party.h