本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}