GetFirstMessage
Get the first message string of the event.
This method resets the internal iterator and calls GetNextMessage
To continue enumation call GetNextMessagee
HRESULT GetFirstMessage([out]
BSTR* message, [out,retval] long* pLangId);
Parameters
message
[out] pointer to a BSTR variable to store the first message associated with this source.
pLangId
[out, retval] pointer to a long variable to store the lang Id of the returned message.
Return Values
S_OK
message contains the first message of this source.
S_FALSE
The source does not have any message. *message is set to NULL.
E_POINTER
message was no valid pointer
E_ACCESSDENIED
The object is locked due to an asynchronous operation