When message is not found from EventMessageFile, eventlog[] get from system messages;
---------------------------------------------------------- FormatMessage(FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_MAX_WIDTH_MASK,/* do not generate new line breaks */ hLib,/* the messagetable DLL handle */ pELR->EventID,/* message ID */ MAKELANGID(LANG_NEUTRAL,SUBLANG_ENGLISH_US), /* language ID */ (LPTSTR)&msgBuf,/* address of pointer to buffer for message */ 0, (va_list *)aInsertStrs))/* array of insert strings for the message */ ----------------------------------------------------------
I think that this [FORMAT_MESSAGE_FROM_SYSTEM] option is unnecessary.