ISecurityInformation::PropertySheetPageCallback method (aclui.h)

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

Syntax

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

Parameters

[in] hwnd

If uMsg is PSPCB_SI_INITDIALOG, hwnd is a handle to the property page dialog box. Otherwise, hwnd is NULL.

[in] uMsg

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.

[in] uPage

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

Return value

Returns S_OK if successful.

Returns a nonzero error code if an error occurs.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header aclui.h

See also

Access Control Editor

Access Control Editor Functions

CreateSecurityPage

EditSecurity

ISecurityInformation

SI_PAGE_TYPE