当前位置: 首页>>代码示例>>C++>>正文


C++ CpProxyAvOpenhomeOrgSender1C类代码示例

本文整理汇总了C++中CpProxyAvOpenhomeOrgSender1C的典型用法代码示例。如果您正苦于以下问题:C++ CpProxyAvOpenhomeOrgSender1C类的具体用法?C++ CpProxyAvOpenhomeOrgSender1C怎么用?C++ CpProxyAvOpenhomeOrgSender1C使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了CpProxyAvOpenhomeOrgSender1C类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: CpProxyAvOpenhomeOrgSender1PropertyAttributes

void STDCALL CpProxyAvOpenhomeOrgSender1PropertyAttributes(THandle aHandle, char** aAttributes)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brhz buf_aAttributes;
    proxyC->PropertyAttributes(buf_aAttributes);
    *aAttributes = buf_aAttributes.Transfer();
}
开发者ID:astaykov,项目名称:ohNet,代码行数:8,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例2: CpProxyAvOpenhomeOrgSender1PropertyMetadata

void STDCALL CpProxyAvOpenhomeOrgSender1PropertyMetadata(THandle aHandle, char** aMetadata)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brhz buf_aMetadata;
    proxyC->PropertyMetadata(buf_aMetadata);
    *aMetadata = buf_aMetadata.Transfer();
}
开发者ID:astaykov,项目名称:ohNet,代码行数:8,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例3: CpProxyAvOpenhomeOrgSender1PropertyPresentationUrl

void STDCALL CpProxyAvOpenhomeOrgSender1PropertyPresentationUrl(THandle aHandle, char** aPresentationUrl)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brhz buf_aPresentationUrl;
    proxyC->PropertyPresentationUrl(buf_aPresentationUrl);
    *aPresentationUrl = buf_aPresentationUrl.Transfer();
}
开发者ID:astaykov,项目名称:ohNet,代码行数:8,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例4: CpProxyAvOpenhomeOrgSender1PropertyAttributes

int32_t STDCALL CpProxyAvOpenhomeOrgSender1PropertyAttributes(THandle aHandle, char** aAttributes)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brhz buf_aAttributes;
    try {
        proxyC->PropertyAttributes(buf_aAttributes);
    }
    catch (ProxyNotSubscribed&) {
        return -1;
    }
    *aAttributes = buf_aAttributes.Transfer();
    return 0;
}
开发者ID:Montellese,项目名称:ohNet,代码行数:14,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例5: CpProxyAvOpenhomeOrgSender1PropertyAudio

int32_t STDCALL CpProxyAvOpenhomeOrgSender1PropertyAudio(THandle aHandle, uint32_t* aAudio)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    TBool Audio;
    try {
        proxyC->PropertyAudio(Audio);
    }
    catch (ProxyNotSubscribed&) {
        return -1;
    }
    *aAudio = Audio? 1 : 0;
    return 0;
}
开发者ID:Montellese,项目名称:ohNet,代码行数:14,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例6: CpProxyAvOpenhomeOrgSender1PropertyMetadata

int32_t STDCALL CpProxyAvOpenhomeOrgSender1PropertyMetadata(THandle aHandle, char** aMetadata)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brhz buf_aMetadata;
    try {
        proxyC->PropertyMetadata(buf_aMetadata);
    }
    catch (ProxyNotSubscribed&) {
        return -1;
    }
    *aMetadata = buf_aMetadata.Transfer();
    return 0;
}
开发者ID:Montellese,项目名称:ohNet,代码行数:14,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例7: CpProxyAvOpenhomeOrgSender1PropertyPresentationUrl

int32_t STDCALL CpProxyAvOpenhomeOrgSender1PropertyPresentationUrl(THandle aHandle, char** aPresentationUrl)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brhz buf_aPresentationUrl;
    try {
        proxyC->PropertyPresentationUrl(buf_aPresentationUrl);
    }
    catch (ProxyNotSubscribed&) {
        return -1;
    }
    *aPresentationUrl = buf_aPresentationUrl.Transfer();
    return 0;
}
开发者ID:Montellese,项目名称:ohNet,代码行数:14,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例8: CpProxyAvOpenhomeOrgSender1SyncAudio

int32_t STDCALL CpProxyAvOpenhomeOrgSender1SyncAudio(THandle aHandle, uint32_t* aValue)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    *aValue = 0;
    int32_t err = 0;
    try {
        proxyC->SyncAudio(*(TBool*)aValue);
    }
    catch (ProxyError& ) {
        err = -1;
        *aValue = false;
    }
    return err;
}
开发者ID:astaykov,项目名称:ohNet,代码行数:15,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例9: CpProxyAvOpenhomeOrgSender1SyncAttributes

int32_t STDCALL CpProxyAvOpenhomeOrgSender1SyncAttributes(THandle aHandle, char** aValue)
{
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    Brh buf_aValue;
    int32_t err = 0;
    try {
        proxyC->SyncAttributes(buf_aValue);
        *aValue = buf_aValue.Extract();
    }
    catch (ProxyError& ) {
        err = -1;
        *aValue = NULL;
    }
    return err;
}
开发者ID:Montellese,项目名称:ohNet,代码行数:16,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例10: CpProxyAvOpenhomeOrgSender1EndAudio

int32_t STDCALL CpProxyAvOpenhomeOrgSender1EndAudio(THandle aHandle, OhNetHandleAsync aAsync, uint32_t* aValue)
{
    int32_t err = 0;
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    IAsync* async = reinterpret_cast<IAsync*>(aAsync);
    ASSERT(async != NULL);
    *aValue = 0;
    try {
        proxyC->EndAudio(*async, *(TBool*)aValue);
    }
    catch(...) {
        err = -1;
    }
    return err;
}
开发者ID:astaykov,项目名称:ohNet,代码行数:16,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例11: CpProxyAvOpenhomeOrgSender1EndAttributes

int32_t STDCALL CpProxyAvOpenhomeOrgSender1EndAttributes(THandle aHandle, OhNetHandleAsync aAsync, char** aValue)
{
    int32_t err = 0;
    CpProxyAvOpenhomeOrgSender1C* proxyC = reinterpret_cast<CpProxyAvOpenhomeOrgSender1C*>(aHandle);
    ASSERT(proxyC != NULL);
    IAsync* async = reinterpret_cast<IAsync*>(aAsync);
    ASSERT(async != NULL);
    Brh buf_aValue;
    *aValue = NULL;
    try {
        proxyC->EndAttributes(*async, buf_aValue);
        *aValue = buf_aValue.Extract();
    }
    catch(...) {
        err = -1;
    }
    return err;
}
开发者ID:Montellese,项目名称:ohNet,代码行数:18,代码来源:CpAvOpenhomeOrgSender1C.cpp


注:本文中的CpProxyAvOpenhomeOrgSender1C类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。