Directory Services |
The WM_ADSPROP_SHEET_CREATE message is sent to the notification object to create a secondary property sheet in an Active Directory MMC snap-in.
Note This message value is not defined in a published header file. To use this message value, you must define it yourself in the exact format shown.
#define WM_ADSPROP_SHEET_CREATE (WM_USER + 1108)
LRESULT SendMessage( (HWND) hwnd, WM_ADSPROP_SHEET_CREATE, (WPARAM) wParam, (LPARAM) lParam);
Note For Windows 2000, this parameter contains a pointer to a DSA_SEC_PAGE_INFO_WIN2K structure instead of a DSA_SEC_PAGE_INFO structure.
The caller must allocate the DSA_SEC_PAGE_INFO structure, the title string and all DSOBJECT strings using a single call to the LocalAlloc function. The WM_ADSPROP_SHEET_CREATE message is an asynchronous message, so it will return before the secondary sheet is created. Because of this, the memory must remain intact after the message returns. The receiver will free this memory with a single call to the LocalFree function after the secondary sheet is created.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
CFSTR_DS_PARENTHWND, DSA_SEC_PAGE_INFO, DSA_SEC_PAGE_INFO_WIN2K, DSOBJECTNAMES, DSOBJECT, LocalAlloc, LocalFree