libsir 2.2.5
Standard Incident Reporter
Loading...
Searching...
No Matches
wineventlog.h
1/*
2 * wineventlog.h
3 *
4 * Version: 2.2.5
5 *
6 * -----------------------------------------------------------------------------
7 *
8 * SPDX-License-Identifier: MIT
9 *
10 * Copyright (c) 2018-2024 Ryan M. Lederman <lederman@gmail.com>
11 *
12 * Permission is hereby granted, free of charge, to any person obtaining a copy of
13 * this software and associated documentation files (the "Software"), to deal in
14 * the Software without restriction, including without limitation the rights to
15 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
16 * the Software, and to permit persons to whom the Software is furnished to do so,
17 * subject to the following conditions:
18 *
19 * The above copyright notice and this permission notice shall be included in all
20 * copies or substantial portions of the Software.
21 *
22 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
24 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
25 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
26 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 *
29 * -----------------------------------------------------------------------------
30 */
31
32#ifndef _SIR_WINEVENTLOG_H_INCLUDED
33# define _SIR_WINEVENTLOG_H_INCLUDED
34
35/* GUID = 7ef5932c-c0f3-4c8b-a0f7-7cfae9c60b0e */
36EXTERN_C __declspec(selectany) const GUID SIR_EVENTLOG_GUID = {
37 0x7ef5932c, 0xc0f3, 0x4c8b, {0xa0, 0xf7, 0x7c, 0xfa, 0xe9, 0xc6, 0x0b, 0x0e}
38};
39
40# ifndef SIR_EVENTLOG_GUID_Traits
41# define SIR_EVENTLOG_GUID_Traits NULL
42# endif
43
44# define SIR_EVENTLOG_GUID_CHANNEL_Application 0x9
45# define SIR_EVENTLOG_GUID_CHANNEL_Application_KEYWORD 0x8000000000000000
46
47# define SIR_DEBUG_CHANNEL 0x10
48# define SIR_DEBUG_CHANNEL_KEYWORD 0x4000000000000000
49
50EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR SIR_EVT_CRITICAL = {
51 0x1, 0x1, 0x9, 0x1, 0x0, 0x0, 0x8000000000000000
52};
53# define SIR_EVT_CRITICAL_value 0x1
54
55EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR SIR_EVT_ERROR = {
56 0x2, 0x1, 0x9, 0x2, 0x0, 0x0, 0x8000000000000000
57};
58# define SIR_EVT_ERROR_value 0x2
59
60EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR SIR_EVT_WARNING = {
61 0x3, 0x1, 0x9, 0x3, 0x0, 0x0, 0x8000000000000000
62};
63# define SIR_EVT_WARNING_value 0x3
64
65EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR SIR_EVT_INFO = {
66 0x4, 0x1, 0x9, 0x4, 0x0, 0x0, 0x8000000000000000
67};
68# define SIR_EVT_INFO_value 0x4
69
70EXTERN_C __declspec(selectany) const EVENT_DESCRIPTOR SIR_EVT_DEBUG = {
71 0x5, 0x1, 0x10, 0x5, 0x0, 0x0, 0x4000000000000000
72};
73# define SIR_EVT_DEBUG_value 0x5
74
75# define MSG_sir_winlog_provider_event_1_message 0x00000001L
76# define MSG_sir_winlog_provider_event_2_message 0x00000002L
77# define MSG_sir_winlog_provider_event_3_message 0x00000003L
78# define MSG_sir_winlog_provider_event_4_message 0x00000004L
79# define MSG_sir_winlog_provider_event_5_message 0xB0010005L
80# define MSG_opcode_Info 0x30000000L
81# define MSG_level_Critical 0x50000001L
82# define MSG_level_Error 0x50000002L
83# define MSG_level_Warning 0x50000003L
84# define MSG_level_Informational 0x50000004L
85# define MSG_level_Verbose 0x50000005L
86# define MSG_task_None 0x70000000L
87# define MSG_channel_Application 0x90000001L
88# define MSG_sir_winlog_provider_channel_SIR_DEBUG_CHANNEL_message 0x90000002L
89
90#endif /* !_SIR_WINEVENTLOG_H_INCLUDED */