IPropertyPage::SetPageSite method (ocidl.h)
Initializes a property page and provides the page with a pointer to the IPropertyPageSite interface through which the property page communicates with the property frame.
HRESULT SetPageSite( [in] IPropertyPageSite *pPageSite );
A pointer to the IPropertyPageSite interface of the page site that manages and provides services to this property page within the entire property sheet.
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and S_OK.
RemarksRelease on any IPropertyPageSite pointer passed during a previous call to this method. If non-NULL, this method must save the IPropertyPageSite pointer value and call AddRef. Two consecutive calls to this method with a non-NULL site pointer are not allowed and should cause the property page to return E_UNEXPECTED.
E_NOTIMPL is not a valid return value. All property pages must implement this method.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|