blob: 6c49d6bdb93fec6b0d10b29af7736808a8366589 (
plain) (
blame)
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
|
/*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
elfcommn.h
Abstract:
Common defines for client and server.
Author:
Rajen Shah (rajens) 12-Aug-1991
Revision History:
--*/
#ifndef _ELFCOMMON_
#define _ELFCOMMON_
//
// Current default names of modules supported
//
#define ELF_MAX_LOG_MODULES 256
#define ELF_SYSTEM_MODULE_NAME L"System"
#define ELF_APPLICATION_MODULE_NAME L"Application"
#define ELF_SECURITY_MODULE_NAME L"Security"
#define ELF_SYSTEM_MODULE_NAME_ASCII "System"
#define ELF_APPLICATION_MODULE_NAME_ASCII "Application"
#define ELF_SECURITY_MODULE_NAME_ASCII "Security"
//
// Version numbers for the file header and the client
//
#define ELF_VERSION_MAJOR 0x0001
#define ELF_VERSION_MINOR 0x0001
//
// The following are definitions for the Flags field in the context handle.
//
// ELF_LOG_HANDLE_INVALID is used to indicate that the handle is no
// longer valid - i.e. the contents of the file
// or the file itself have changed. It is used for
// READs to cause the reader to "resync".
//
// ELF_LOG_HANDLE_BACKUP_LOG indicates that this was created with the
// OpenBackupEventlog API and is not an active log.
// This means we do some additional work at close time
// and we disallow clear, backup, write and
// ChangeNotify operations.
//
// ELF_LOG_HANDLE_REMOTE_HANDLE indicates that this handle was created via
// a remote RPC call. This handle cannot be used for
// ElfChangeNotify
//
// ELF_LOG_HANDLE_GENERATE_ON_CLOSE indicates that NtCloseAuditAlarm must
// be called when this handle is closed. This flag
// is set when an audit is generated on open.
//
#define ELF_LOG_HANDLE_INVALID_FOR_READ 0x0001
#define ELF_LOG_HANDLE_BACKUP_LOG 0x0002
#define ELF_LOG_HANDLE_REMOTE_HANDLE 0x0004
#define ELF_LOG_HANDLE_LAST_READ_FORWARD 0x0008
#define ELF_LOG_HANDLE_GENERATE_ON_CLOSE 0x0010
#endif /* _ELFCOMMON_ */
|