2 * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 2001 Internet Software Consortium.
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
18 /* $Id: bindevt.h,v 1.6 2007/06/19 23:47:20 tbox Exp $ */
21 #define ISC_BINDEVT_H 1
24 * This is used for the event log for both logging the messages and
25 * later on by the event viewer when looking at the events
29 * Values are 32 bit values layed out as follows:
31 * 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
32 * 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
33 * +---+-+-+-----------------------+-------------------------------+
34 * |Sev|C|R| Facility | Code |
35 * +---+-+-+-----------------------+-------------------------------+
39 * Sev - is the severity code
46 * C - is the Customer code flag
48 * R - is a reserved bit
50 * Facility - is the facility code
52 * Code - is the facility's status code
55 * Define the facility codes
60 * Define the severity codes
65 * MessageId: BIND_ERR_MSG
71 #define BIND_ERR_MSG ((DWORD)0xC0000001L)
74 * MessageId: BIND_WARN_MSG
80 #define BIND_WARN_MSG ((DWORD)0x80000002L)
83 * MessageId: BIND_INFO_MSG
89 #define BIND_INFO_MSG ((DWORD)0x40000003L)
91 #endif /* ISC_BINDEVT_H */