Event Formatting Notes *LCID: more information in the MSDN Library. Also see about this 2 ITcEnumEventDocLink [ } 176] 8.1.1.6 GetSourceName The method GetSourceName returns a formatted Sourcename for the requested language. The TcEvent [ } 128] object methode ITcEvent [ } 157] :: SourceName [ } 163] calls this mehod. HRESULTGetSourceName( [in]long nSrcId, [in]langId, [out,retval] BSTR* szName) Parameter 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.
szName [out, retval] Pointer to a BSTR string that returns the Sourcename Return Values S_OK Function successful. E_POINTER szName was an invalid pointer. Notes Most standard Formatters, like the XML based Formatter (TcEventFormatter.TcXmlFormatter) try to return a string in the default language when the requested language cannot be found in the configuration of the formatter. *LCID: more information in the MSDN Library. TcEventLogger 121 Version: 1.1 LCID Description 1031 German 1033 US English 1034 Spanish 1036 French