ErrorWarningCollection::AddItem method
Adds an ErrorWarning item to the collection.
Syntax
virtual HRESULT AddItem(
[in] IssueType issueType,
[in] INT hresult,
[in] LPCWSTR message
) = 0;
Parameters
-
issueType [in]
-
The type of the item being added.
-
hresult [in]
-
The HRESULT value associated with the item.
-
message [in]
-
The message text for the item.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|