Registriert seit: 9. Aug 2003
389 Beiträge
Delphi 7 Professional
|
Re: Event Identifier im Eventlog
19. Sep 2003, 22:05
Delphi-Quellcode:
BOOL ReportEvent(
HANDLE hEventLog, // handle returned by RegisterEventSource
WORD wType, // event type to log
WORD wCategory, // event category
DWORD dwEventID, // event identifier
PSID lpUserSid, // user security identifier (optional)
WORD wNumStrings, // number of strings to merge with message
DWORD dwDataSize, // size of binary data, in bytes
LPCTSTR *lpStrings, // array of strings to merge with message
LPVOID lpRawData // address of binary data
);
Die per lpStrings angegebenen Strings werden anstelle der Platzhalter %1..%n in den Message-Text eingesetzt.
|
|
Zitat
|