-
Notifications
You must be signed in to change notification settings - Fork 2
/
NTServiceEventLogMsg.h
101 lines (90 loc) · 2.09 KB
/
NTServiceEventLogMsg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998 Telic Software International B.V.
//
// Module Name:
//
// NTServiceEventLogMsg.h
//
// Abstract:
//
// Messages for Event Logging for the service
//
//
//Notes:
// DO NOT EDIT THIS FILE BY HAND!
//
// This file is GENERATED by the MC tool from the NTServiceEventLogMsg.mc file.
//
//////////////////////////////////////////////////////////////////////////
#ifndef __NTSERVICEEVENTLOGMSG_H__
#define __NTSERVICEEVENTLOGMSG_H__
//
// Values are 32 bit values laid out as follows:
//
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
// +---+-+-+-----------------------+-------------------------------+
// |Sev|C|R| Facility | Code |
// +---+-+-+-----------------------+-------------------------------+
//
// where
//
// Sev - is the severity code
//
// 00 - Success
// 01 - Informational
// 10 - Warning
// 11 - Error
//
// C - is the Customer code flag
//
// R - is a reserved bit
//
// Facility - is the facility code
//
// Code - is the facility's status code
//
//
// Define the facility codes
//
//
// Define the severity codes
//
#define STATUS_SEVERITY_SUCCESS 0x0
#define STATUS_SEVERITY_INFORMATIONAL 0x1
#define STATUS_SEVERITY_WARNING 0x2
#define STATUS_SEVERITY_ERROR 0x3
//
// MessageId: MSG_INFO_1
//
// MessageText:
//
// %1
//
#define MSG_INFO_1 ((DWORD)0x40000000L)
//
// MessageId: MSG_WARNING_1
//
// MessageText:
//
// %1
//
#define MSG_WARNING_1 ((DWORD)0x80000001L)
//
// MessageId: MSG_ERROR_1
//
// MessageText:
//
// %1
//
#define MSG_ERROR_1 ((DWORD)0xC0000002L)
//
// MessageId: MSG_SUCCESS_1
//
// MessageText:
//
// %1
//
#define MSG_SUCCESS_1 ((DWORD)0x00000003L)
#endif // __NTSERVICEEVENTLOGMSG_H__