CComPtr::SetSite

HRESULT SetSite( IUnknown* punkParent );

Return value

A standard HRESULT value. Can be one of the following values:

Parameters

punkParent

[in] Pointer to the IUnknown interface pointer of the site managing this object.

Remarks

Sets the site for the internal pointer to punkParent. The internal pointer must point to an object that implements IObjectWithSite.

CComPtr OverviewClass Members