WM_ADSPROP_NOTIFY_ERROR message

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

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 value

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

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Adsprop.h

See also

Messages in Active Directory Domain Services

ADSPROPERROR

ADsPropSendErrorMessage

ADsPropShowErrorDialog