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(); }
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(); }
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(); }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }