Ejemplo n.º 1
0
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();
}
Ejemplo n.º 2
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;
}