beckhoff — 6.7.3.7 GetNextMessage

Event Configuration 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 6.7.3.7 GetNextMessage Get the next message of this event according to the internal iterator.

Before starting enumeration of message strings call GetFirstMessage [ } 44] After adding or removing message strings you must restart enumeration by calling GetFirstMessage HRESULT GetNextMessage([out] BSTR* message, [out, retval] long* langId); Parameters message [out] pointer to a BSTR variable to store the next message associated with this event. langId [out, retval] pointer to a long variable to store the lang Id of the returned message. Return Values S_OK message contains the next name of this event. S_FALSE The event does not have further messages. *message is set to NULL.

E_POINTER message was no valid pointer E_ACCESSDENIED The object is locked due to an asynchronous operation TcEventLogger 45 Version: 1.1