Beispiel #1
0
 public static extern bool DeregisterEventSource(HEVENTLOG hEventLog);
Beispiel #2
0
 public static extern bool ReportEvent(HEVENTLOG hEventLog, EVENTLOG_TYPE wType, ushort wCategory, uint dwEventID, PSID lpUserSid, ushort wNumStrings, uint dwDataSize, [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPTStr, SizeParamIndex = 5)] string[] lpStrings, IntPtr lpRawData);
Beispiel #3
0
 public static extern bool CloseEventLog(HEVENTLOG hEventLog);
Beispiel #4
0
 public static extern bool ReadEventLog(HEVENTLOG hEventLog, EVENTLOG_READ dwReadFlags, uint dwRecordOffset, SafePEVENTLOGRECORD lpBuffer, uint nNumberOfBytesToRead, out uint pnBytesRead, out uint pnMinNumberOfBytesNeeded);
Beispiel #5
0
 public static extern bool ClearEventLog(HEVENTLOG hEventLog, [Optional] string lpBackupFileName);
Beispiel #6
0
 public static extern bool NotifyChangeEventLog(HEVENTLOG hEventLog, Kernel32.SafeEventHandle hEvent);
Beispiel #7
0
 public static extern bool BackupEventLog(HEVENTLOG hEventLog, string lpBackupFileName);
Beispiel #8
0
 public static extern bool GetOldestEventLogRecord(HEVENTLOG hEventLog, out uint OldestRecord);
Beispiel #9
0
 public static extern bool GetNumberOfEventLogRecords(HEVENTLOG hEventLog, out uint NumberOfRecords);
Beispiel #10
0
 public static extern bool GetEventLogInformation(HEVENTLOG hEventLog, uint dwInfoLevel, IntPtr lpBuffer, uint cbBufSize, out uint pcbBytesNeeded);
Beispiel #11
0
 public static extern bool ReportEvent(HEVENTLOG hEventLog, ushort wType, ushort wCategory, uint dwEventID, PSID lpUserSid, ushort wNumStrings, uint dwDataSize, ref string lpStrings, IntPtr lpRawData);
Beispiel #12
0
 public static extern bool ReadEventLog(HEVENTLOG hEventLog, uint dwReadFlags, uint dwRecordOffset, IntPtr lpBuffer, uint nNumberOfBytesToRead, out uint pnBytesRead, out uint pnMinNumberOfBytesNeeded);