Platform SDK: Access Control

ISecurityInformation::PropertySheetPageCallback

The PropertySheetPageCallback method notifies an EditSecurity or CreateSecurityPage caller that an access control editor property page is being created or destroyed.

HRESULT PropertySheetPageCallback(
  HWND hwnd,
  UINT uMsg,
  SI_PAGE_TYPE uPage
);

Parameters

hwnd
[in] If uMsg is PSPCB_SI_INITDIALOG, hwnd is a handle to the property page dialog window. Otherwise, hwnd is NULL.
uMsg
[in] Identifies the message being received. This parameter is one of the following values.
Value Meaning
PSPCB_CREATE Indicates that a property page is being created.
PSPCB_RELEASE Indicates that a property page is being destroyed.
PSPCB_SI_INITDIALOG Indicates that a property page is being initialized.

uPage
[in] A value from the SI_PAGE_TYPE enumeration type that indicates the type of access control editor property page being created or destroyed.

Return Values

Return S_OK if successful.

Return a nonzero error code if an error occurs.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Aclui.h.

See Also

Access Control Editor Overview, Access Control Editor Interfaces, CreateSecurityPage, EditSecurity, SI_PAGE_TYPE