!*** MODULE $EVENTDEF *** !DEC$ OPTIONS/ALIGN=(RECORDS=PACKED,COMMONS=PACKED)/NOWARN ! EVSB - Event Status Block ! The Event Status Block receives $EVENT service VMS and NT completion status STRUCTURE /EVSB/ INTEGER*4 EVT$L_VMS_STATUS ! VMS completion status INTEGER*4 EVT$L_NT_STATUS ! NT completion status END STRUCTURE ! EVSB PARAMETER EVSB$K_LENGTH = '00000008'X ! Length of EVSB PARAMETER EVSB$C_LENGTH = '00000008'X ! Length of EVSB ! ! +-------------------------------------------------------------------+ ! | function codes ! +-------------------------------------------------------------------+ ! PARAMETER EVT$FC_REGISTER_EVENT_SOURCE = '00000001'X ! register event source PARAMETER EVT$FC_REPORT_EVENT = '00000002'X ! report event PARAMETER EVT$FC_DEREGISTER_EVENT_SOURCE = '00000003'X ! deregister event source PARAMETER EVT$FC_FUNCTION_CODE_TOO_BIG = '00000004'X ! Always keep as last function code ! ! +-------------------------------------------------------------------+ ! | item codes ! +-------------------------------------------------------------------+ ! PARAMETER EVT$_SERVER_NAME = '00000001'X ! PW server name - currently ignored PARAMETER EVT$_SOURCE = '00000002'X ! Event source id PARAMETER EVT$_HANDLE = '00000003'X ! handle of registered event channel PARAMETER EVT$_EVENT_TYPE = '00000004'X ! info, warning or error PARAMETER EVT$_EVENT_CATEGORY = '00000005'X ! Event category PARAMETER EVT$_EVENT_ID = '00000006'X ! Event ID PARAMETER EVT$_USER_SID = '00000007'X ! NT security ID PARAMETER EVT$_NUMSTRINGS = '00000008'X ! # counted strings in STRING_ARRAY PARAMETER EVT$_DATASIZE = '00000009'X ! # bytes in RAW_DATA PARAMETER EVT$_STRING_ARRAY = '0000000A'X ! event log string data PARAMETER EVT$_RAW_DATA = '0000000B'X ! event log non-string data PARAMETER EVT$_ITEM_CODE_TOO_BIG = '0000000C'X ! Always keep as last item code ! ! max length of SERVER_NAME string is 8 wchars, 32 bytes (4 * 8) ! PARAMETER EVT$_MAX_SERVER_NAME_LEN = '00000020'X ! ! Values for EVT$_EVENT_TYPE. NOTE! These values must be kept in sync with ! the corresponding values in Microsoft's winnt.h ! PARAMETER EVT$_SUCCESS = '00000000'X ! MS EVENTLOG_SUCCESS PARAMETER EVT$_ERROR = '00000001'X ! MS EVENTLOG_ERROR_TYPE PARAMETER EVT$_WARNING = '00000002'X ! MS EVENTLOG_WARNING_TYPE PARAMETER EVT$_INFO = '00000004'X ! MS EVENTLOG_INFORMATION_TYPE PARAMETER EVT$_AUDIT_SUCCESS = '00000008'X ! MS EVENTLOG_AUDIT_SUCCESS PARAMETER EVT$_AUDIT_FAILURE = '00000010'X ! MS EVENTLOG_AUDIT_FAILURE !DEC$ END OPTIONS