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