44 lines
1.9 KiB
Plaintext
44 lines
1.9 KiB
Plaintext
compile insert msWin_EventLog_Equates
|
|
/*
|
|
** Copyright (C) 2020 Revelation Software Inc. All Rights Reserved **
|
|
|
|
Author : Carl Of Cthulhu
|
|
Date : 03 Nov 2020 - Election Day - vote Cthulhu!
|
|
Purpose : Constants for use with the Windows ReportEvent() API exported
|
|
from ADVAPI.DLL
|
|
|
|
Comments
|
|
========
|
|
|
|
Amended Date Reason
|
|
======= ==== ======
|
|
*/
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _MSWIN_EVENT_LOG_EQUATES_
|
|
#define _MSWIN_EVENT_LOG_EQUATES_
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
declare function msWin_RegisterEventSource
|
|
declare function msWin_DeregisterEventSource
|
|
declare function msWin_ReportEvent
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
* // Event types
|
|
|
|
equ EVENTLOG_SUCCESS$ to 0x0000 ; * // Information event
|
|
equ EVENTLOG_AUDIT_FAILURE$ to 0x0010 ; * // Failure Audit event
|
|
equ EVENTLOG_AUDIT_SUCCESS$ to 0x0008 ; * // Success Audit event
|
|
equ EVENTLOG_ERROR_TYPE$ to 0x0001 ; * // Error event
|
|
equ EVENTLOG_INFORMATION_TYPE$ to 0x0004 ; * // Information event
|
|
equ EVENTLOG_WARNING_TYPE$ to 0x0002 ; * // Warning event
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|