ADsPropShowErrorDialog function (adsprop.h)
The ADsPropShowErrorDialog function displays a dialog box that contains the error messages accumulated through calls to the ADsPropSendErrorMessage function or the WM_ADSPROP_NOTIFY_ERROR.
Syntax
BOOL ADsPropShowErrorDialog(
[in] HWND hNotifyObj,
[in] HWND hPage
);
Parameters
[in] hNotifyObj
The handle of the notification object. To obtain this handle, call ADsPropCreateNotifyObj.
[in] hPage
The window handle of the property page.
Return value
Returns zero if the notification object does not exist or nonzero otherwise.
Remarks
The error messages added by the ADsPropSendErrorMessage function 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 |
Target Platform | Windows |
Header | adsprop.h |
Library | Dsprop.lib |
DLL | Dsprop.dll |