ErrorWarning::SetMessage method
Sets the text message of this item.
Syntax
virtual HRESULT SetMessage(
[in] LPCWSTR message
) = 0;
Parameters
-
message [in]
-
The text message.
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 |
|