ADsPropSendErrorMessage function (adsprop.h)
The ADsPropSendErrorMessage function adds an error message to a list of error messages displayed by calling the ADsPropShowErrorDialog function.
Syntax
BOOL ADsPropSendErrorMessage(
[in] HWND hNotifyObj,
[out] PADSPROPERROR pError
);
Parameters
[in] hNotifyObj
The handle of the notification object. To obtain this handle, call ADsPropCreateNotifyObj.
[out] pError
Pointer to an ADSPROPERROR structure which contains data about the error message.
Return value
Returns nonzero if successful or zero 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 |