IPropertySheetCallback::RemovePage

[This is preliminary documentation and subject to change.]

Enables a snap-in to remove a page from a property sheet.

HRESULT RemovePage(
  HPROPSHEETPAGE hPage  // Handle of the page to be removed
);
 

Parameter

hPage
[in] Handle of the page to be removed.

Return Values

S_OK
The page was successfully removed or the list is empty.
S_FALSE
The page was not found in the list.
E_UNEXPECTED
An unexpected error occurred.
E_POINTER
The parameter is NULL.

Remarks

RemovePage can be used only for pages that the snap-in itself has added.

See Also

IPropertySheetCallback