pProxy->QueryInterface(IID_IClientSecurity, (void**)&pcs); pcs->CopyProxy(pProxy, riid, ppCopy); pcs->Release();