HRESULT hr; IMyComInterface *piy_1, *piy_2; piy_1 = get an interface pointer to IMyComInterface; piy_2 = piy_1; … piy_1->Release(); piy_2->Release();