beckhoff — 8.1.1.4 GetClassPrio

Event Formatting HRESULT SetFormatString([in]long nEventId, [in]long nSrcId, [in] langId, [in] BSTR * szFormatString) Parameter nEventId [in] Variable with the Event Id nSrcId [in] Variable with the Source Id langId [in] The language id of the needed language. The needed language should be marked with *LCIDs. The following table gives a list of some language ids. msg [in] a BSTR string with the Format string Return Values S_OK Function successful. E_NOTIMPL This method is not implemented. Notes The TcXmlFormatter does not support this method. *LCID: more information in the MSDN Library. 8.1.1.4 GetClassPrio This method returns the Class and Priority.

This is used for alerts that are triggered by the PLC method ADSLOGEVENT, by setting the flag to TRUE, or by callig a function like ITcEventLogC [ } 137] :: ReportEvent [ } 138] , ITcEventC3 [ } 141] :: ReportEventEx [ } 143] or ITcEventLog [ } 129] :: ReportEvent [ } 129] with the TcEventFlags [ } 180] set to TCEVENTFLAG_PRIOCLASS. HRESULTGetClassPrio([in]long nEventId, [in]long nSrcId, [out] TcEventClass * pClass, [out] long * pPriority) pClass TcEventLogger 119 Version: 1.1 LCID Description 1031 German 1033 US English 1034 Spanish 1036 French