Directory Services

WM_ADSPROP_NOTIFY_ERROR

The WM_ADSPROP_NOTIFY_ERROR message adds an error message to a list of error messages that are displayed by calling the ADsPropShowErrorDialog function.

VOID SendMessage(
  (HWND) hwnd, 
  WM_ADSPROP_NOTIFY_ERROR,
  (WPARAM) wParam, 
  (LPARAM) lParam
);

Parameters

hwnd
Handle of the notification object. This is the hNotifyObject parameter obtained by ADsPropCreateNotifyObj.
wParam
Not used.
lParam
Pointer to an ADSPROPERROR structure that contains error message data.

Return Values

This message has no return value.

Remarks

The ADsPropSendErrorMessage function is the preferred method of sending this message.

The error messages added by the WM_ADSPROP_NOTIFY_ERROR message are accumulated until ADsPropShowErrorDialog is called. ADsPropShowErrorDialog combines and displays the accumulated error messages. When the error dialog is dismissed, the accumulated error messages are deleted.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Adsprop.h.

See Also

Active Directory Messages, ADSPROPERROR, ADsPropSendErrorMessage, ADsPropShowErrorDialog