ErrorWarningCollection::AddItem method
Adds an ErrorWarning item to the collection.
Syntax
virtual HRESULT AddItem(
[in] IssueType issueType,
[in] LPCWSTR message,
[in, out] ErrorWarning **errorWarning
) = 0;
Parameters
-
issueType [in]
-
The type of the item being added.
-
message [in]
-
The message text for the item.
-
errorWarning [in, out]
-
A double pointer that receives a pointer to the new 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 |
|