ReactOS 0.4.16-dev-320-g3bd9ddc
lmaudit.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _AUDIT_ENTRY
 
struct  _HLOG
 
struct  _AE_SRVSTATUS
 
struct  _AE_SESSLOGON
 
struct  _AE_SESSLOGOFF
 
struct  _AE_SESSPWERR
 
struct  _AE_CONNSTART
 
struct  _AE_CONNSTOP
 
struct  _AE_CONNREJ
 
struct  _AE_RESACCESS
 
struct  _AE_RESACCESSREJ
 
struct  _AE_CLOSEFILE
 
struct  _AE_SERVICESTAT
 
struct  _AE_ACLMOD
 
struct  _AE_UASMOD
 
struct  _AE_NETLOGON
 
struct  _AE_NETLOGOFF
 
struct  _AE_ACCLIM
 
struct  _AE_LOCKOUT
 
struct  _AE_GENERIC
 

Macros

#define REVISED_AUDIT_ENTRY_STRUCT
 
#define LOGFLAGS_FORWARD   0
 
#define LOGFLAGS_BACKWARD   1
 
#define LOGFLAGS_SEEK   2
 
#define ACTION_LOCKOUT   0
 
#define ACTION_ADMINUNLOCK   1
 
#define AE_GUEST   0
 
#define AE_USER   1
 
#define AE_ADMIN   2
 
#define AE_NORMAL   0
 
#define AE_USERLIMIT   0
 
#define AE_GENERAL   0
 
#define AE_ERROR   1
 
#define AE_SESSDIS   1
 
#define AE_BADPW   1
 
#define AE_AUTODIS   2
 
#define AE_UNSHARE   2
 
#define AE_ADMINPRIVREQD   2
 
#define AE_ADMINDIS   3
 
#define AE_NOACCESSPERM   3
 
#define AE_ACCRESTRICT   4
 
#define AE_NORMAL_CLOSE   0
 
#define AE_SES_CLOSE   1
 
#define AE_ADMIN_CLOSE   2
 
#define AE_LIM_UNKNOWN   0
 
#define AE_LIM_LOGONHOURS   1
 
#define AE_LIM_EXPIRED   2
 
#define AE_LIM_INVAL_WKSTA   3
 
#define AE_LIM_DISABLED   4
 
#define AE_LIM_DELETED   5
 
#define AE_MOD   0
 
#define AE_DELETE   1
 
#define AE_ADD   2
 
#define AE_UAS_USER   0
 
#define AE_UAS_GROUP   1
 
#define AE_UAS_MODALS   2
 
#define SVAUD_SERVICE   1
 
#define SVAUD_GOODSESSLOGON   6
 
#define SVAUD_BADSESSLOGON   24
 
#define SVAUD_SESSLOGON   (SVAUD_GOODSESSLOGON|SVAUD_BADSESSLOGON)
 
#define SVAUD_GOODNETLOGON   96
 
#define SVAUD_BADNETLOGON   384
 
#define SVAUD_NETLOGON   (SVAUD_GOODNETLOGON|SVAUD_BADNETLOGON)
 
#define SVAUD_LOGON   (SVAUD_NETLOGON|SVAUD_SESSLOGON)
 
#define SVAUD_GOODUSE   0x600
 
#define SVAUD_BADUSE   0x1800
 
#define SVAUD_USE   (SVAUD_GOODUSE|SVAUD_BADUSE)
 
#define SVAUD_USERLIST   8192
 
#define SVAUD_PERMISSIONS   16384
 
#define SVAUD_RESOURCE   32768
 
#define SVAUD_LOGONLIM   65536
 
#define AA_AUDIT_ALL   1
 
#define AA_A_OWNER   4
 
#define AA_CLOSE   8
 
#define AA_S_OPEN   16
 
#define AA_S_WRITE   32
 
#define AA_S_CREATE   32
 
#define AA_S_DELETE   64
 
#define AA_S_ACL   128
 
#define AA_S_ALL   253
 
#define AA_F_OPEN   256
 
#define AA_F_WRITE   512
 
#define AA_F_CREATE   512
 
#define AA_F_DELETE   1024
 
#define AA_F_ACL   2048
 
#define AA_F_ALL   (AA_F_OPEN|AA_F_WRITE|AA_F_DELETE|AA_F_ACL)
 
#define AA_A_OPEN   2048
 
#define AA_A_WRITE   4096
 
#define AA_A_CREATE   8192
 
#define AA_A_DELETE   16384
 
#define AA_A_ACL   32768
 
#define AA_A_ALL   (AA_F_OPEN|AA_F_WRITE|AA_F_DELETE|AA_F_ACL)
 
#define AE_SRVSTATUS   0
 
#define AE_SESSLOGON   1
 
#define AE_SESSLOGOFF   2
 
#define AE_SESSPWERR   3
 
#define AE_CONNSTART   4
 
#define AE_CONNSTOP   5
 
#define AE_CONNREJ   6
 
#define AE_RESACCESS   7
 
#define AE_RESACCESSREJ   8
 
#define AE_CLOSEFILE   9
 
#define AE_SERVICESTAT   11
 
#define AE_ACLMOD   12
 
#define AE_UASMOD   13
 
#define AE_NETLOGON   14
 
#define AE_NETLOGOFF   15
 
#define AE_NETLOGDENIED   16
 
#define AE_ACCLIMITEXCD   17
 
#define AE_RESACCESS2   18
 
#define AE_ACLMODFAIL   19
 
#define AE_LOCKOUT   20
 
#define AE_GENERIC_TYPE   21
 
#define AE_SRVSTART   0
 
#define AE_SRVPAUSED   1
 
#define AE_SRVCONT   2
 
#define AE_SRVSTOP   3
 

Typedefs

typedef struct _AUDIT_ENTRY AUDIT_ENTRY
 
typedef struct _AUDIT_ENTRYPAUDIT_ENTRY
 
typedef struct _AUDIT_ENTRYLPAUDIT_ENTRY
 
typedef struct _HLOG HLOG
 
typedef struct _HLOGPHLOG
 
typedef struct _HLOGLPHLOG
 
typedef struct _AE_SRVSTATUS AE_SRVSTATUS
 
typedef struct _AE_SRVSTATUSPAE_SRVSTATUS
 
typedef struct _AE_SRVSTATUSLPAE_SRVSTATUS
 
typedef struct _AE_SESSLOGON AE_SESSLOGON
 
typedef struct _AE_SESSLOGONPAE_SESSLOGON
 
typedef struct _AE_SESSLOGONLPAE_SESSLOGON
 
typedef struct _AE_SESSLOGOFF AE_SESSLOGOFF
 
typedef struct _AE_SESSLOGOFFPAE_SESSLOGOFF
 
typedef struct _AE_SESSLOGOFFLPAE_SESSLOGOFF
 
typedef struct _AE_SESSPWERR AE_SESSPWERR
 
typedef struct _AE_SESSPWERRPAE_SESSPWERR
 
typedef struct _AE_SESSPWERRLPAE_SESSPWERR
 
typedef struct _AE_CONNSTART AE_CONNSTART
 
typedef struct _AE_CONNSTARTPAE_CONNSTART
 
typedef struct _AE_CONNSTARTLPAE_CONNSTART
 
typedef struct _AE_CONNSTOP AE_CONNSTOP
 
typedef struct _AE_CONNSTOPPAE_CONNSTOP
 
typedef struct _AE_CONNSTOPLPAE_CONNSTOP
 
typedef struct _AE_CONNREJ AE_CONNREJ
 
typedef struct _AE_CONNREJPAE_CONNREJ
 
typedef struct _AE_CONNREJLPAE_CONNREJ
 
typedef struct _AE_RESACCESS AE_RESACCESS
 
typedef struct _AE_RESACCESSPAE_RESACCESS
 
typedef struct _AE_RESACCESSLPAE_RESACCESS
 
typedef struct _AE_RESACCESSREJ AE_RESACCESSREJ
 
typedef struct _AE_RESACCESSREJPAE_RESACCESSREJ
 
typedef struct _AE_RESACCESSREJLPAE_RESACCESSREJ
 
typedef struct _AE_CLOSEFILE AE_CLOSEFILE
 
typedef struct _AE_CLOSEFILEPAE_CLOSEFILE
 
typedef struct _AE_CLOSEFILELPAE_CLOSEFILE
 
typedef struct _AE_SERVICESTAT AE_SERVICESTAT
 
typedef struct _AE_SERVICESTATPAE_SERVICESTAT
 
typedef struct _AE_SERVICESTATLPAE_SERVICESTAT
 
typedef struct _AE_ACLMOD AE_ACLMOD
 
typedef struct _AE_ACLMODPAE_ACLMOD
 
typedef struct _AE_ACLMODLPAE_ACLMOD
 
typedef struct _AE_UASMOD AE_UASMOD
 
typedef struct _AE_UASMODPAE_UASMOD
 
typedef struct _AE_UASMODLPAE_UASMOD
 
typedef struct _AE_NETLOGON AE_NETLOGON
 
typedef struct _AE_NETLOGONPAE_NETLOGON
 
typedef struct _AE_NETLOGONLPAE_NETLOGON
 
typedef struct _AE_NETLOGOFF AE_NETLOGOFF
 
typedef struct _AE_NETLOGOFFPAE_NETLOGOFF
 
typedef struct _AE_NETLOGOFFLPAE_NETLOGOFF
 
typedef struct _AE_ACCLIM AE_ACCLIM
 
typedef struct _AE_ACCLIMPAE_ACCLIM
 
typedef struct _AE_ACCLIMLPAE_ACCLIM
 
typedef struct _AE_LOCKOUT AE_LOCKOUT
 
typedef struct _AE_LOCKOUTPAE_LOCKOUT
 
typedef struct _AE_LOCKOUTLPAE_LOCKOUT
 
typedef struct _AE_GENERIC AE_GENERIC
 
typedef struct _AE_GENERICPAE_GENERIC
 
typedef struct _AE_GENERICLPAE_GENERIC
 

Functions

NET_API_STATUS WINAPI NetAuditClear (LPCWSTR, LPCWSTR, LPCWSTR)
 
NET_API_STATUS WINAPI NetAuditRead (LPCWSTR, LPCWSTR, LPHLOG, DWORD, PDWORD, DWORD, DWORD, PBYTE *, DWORD, PDWORD, PDWORD)
 
NET_API_STATUS WINAPI NetAuditWrite (DWORD, PBYTE, DWORD, LPCWSTR, PBYTE)
 

Macro Definition Documentation

◆ AA_A_ACL

#define AA_A_ACL   32768

Definition at line 77 of file lmaudit.h.

◆ AA_A_ALL

Definition at line 78 of file lmaudit.h.

◆ AA_A_CREATE

#define AA_A_CREATE   8192

Definition at line 75 of file lmaudit.h.

◆ AA_A_DELETE

#define AA_A_DELETE   16384

Definition at line 76 of file lmaudit.h.

◆ AA_A_OPEN

#define AA_A_OPEN   2048

Definition at line 73 of file lmaudit.h.

◆ AA_A_OWNER

#define AA_A_OWNER   4

Definition at line 59 of file lmaudit.h.

◆ AA_A_WRITE

#define AA_A_WRITE   4096

Definition at line 74 of file lmaudit.h.

◆ AA_AUDIT_ALL

#define AA_AUDIT_ALL   1

Definition at line 58 of file lmaudit.h.

◆ AA_CLOSE

#define AA_CLOSE   8

Definition at line 60 of file lmaudit.h.

◆ AA_F_ACL

#define AA_F_ACL   2048

Definition at line 71 of file lmaudit.h.

◆ AA_F_ALL

Definition at line 72 of file lmaudit.h.

◆ AA_F_CREATE

#define AA_F_CREATE   512

Definition at line 69 of file lmaudit.h.

◆ AA_F_DELETE

#define AA_F_DELETE   1024

Definition at line 70 of file lmaudit.h.

◆ AA_F_OPEN

#define AA_F_OPEN   256

Definition at line 67 of file lmaudit.h.

◆ AA_F_WRITE

#define AA_F_WRITE   512

Definition at line 68 of file lmaudit.h.

◆ AA_S_ACL

#define AA_S_ACL   128

Definition at line 65 of file lmaudit.h.

◆ AA_S_ALL

#define AA_S_ALL   253

Definition at line 66 of file lmaudit.h.

◆ AA_S_CREATE

#define AA_S_CREATE   32

Definition at line 63 of file lmaudit.h.

◆ AA_S_DELETE

#define AA_S_DELETE   64

Definition at line 64 of file lmaudit.h.

◆ AA_S_OPEN

#define AA_S_OPEN   16

Definition at line 61 of file lmaudit.h.

◆ AA_S_WRITE

#define AA_S_WRITE   32

Definition at line 62 of file lmaudit.h.

◆ ACTION_ADMINUNLOCK

#define ACTION_ADMINUNLOCK   1

Definition at line 12 of file lmaudit.h.

◆ ACTION_LOCKOUT

#define ACTION_LOCKOUT   0

Definition at line 11 of file lmaudit.h.

◆ AE_ACCLIMITEXCD

#define AE_ACCLIMITEXCD   17

Definition at line 235 of file lmaudit.h.

◆ AE_ACCRESTRICT

#define AE_ACCRESTRICT   4

Definition at line 27 of file lmaudit.h.

◆ AE_ACLMOD

#define AE_ACLMOD   12

Definition at line 230 of file lmaudit.h.

◆ AE_ACLMODFAIL

#define AE_ACLMODFAIL   19

Definition at line 237 of file lmaudit.h.

◆ AE_ADD

#define AE_ADD   2

Definition at line 39 of file lmaudit.h.

◆ AE_ADMIN

#define AE_ADMIN   2

Definition at line 15 of file lmaudit.h.

◆ AE_ADMIN_CLOSE

#define AE_ADMIN_CLOSE   2

Definition at line 30 of file lmaudit.h.

◆ AE_ADMINDIS

#define AE_ADMINDIS   3

Definition at line 25 of file lmaudit.h.

◆ AE_ADMINPRIVREQD

#define AE_ADMINPRIVREQD   2

Definition at line 24 of file lmaudit.h.

◆ AE_AUTODIS

#define AE_AUTODIS   2

Definition at line 22 of file lmaudit.h.

◆ AE_BADPW

#define AE_BADPW   1

Definition at line 21 of file lmaudit.h.

◆ AE_CLOSEFILE

Definition at line 228 of file lmaudit.h.

◆ AE_CONNREJ

#define AE_CONNREJ   6

Definition at line 225 of file lmaudit.h.

◆ AE_CONNSTART

Definition at line 223 of file lmaudit.h.

◆ AE_CONNSTOP

Definition at line 224 of file lmaudit.h.

◆ AE_DELETE

#define AE_DELETE   1

Definition at line 38 of file lmaudit.h.

◆ AE_ERROR

#define AE_ERROR   1

Definition at line 19 of file lmaudit.h.

◆ AE_GENERAL

#define AE_GENERAL   0

Definition at line 18 of file lmaudit.h.

◆ AE_GENERIC_TYPE

#define AE_GENERIC_TYPE   21

Definition at line 239 of file lmaudit.h.

◆ AE_GUEST

#define AE_GUEST   0

Definition at line 13 of file lmaudit.h.

◆ AE_LIM_DELETED

#define AE_LIM_DELETED   5

Definition at line 36 of file lmaudit.h.

◆ AE_LIM_DISABLED

#define AE_LIM_DISABLED   4

Definition at line 35 of file lmaudit.h.

◆ AE_LIM_EXPIRED

#define AE_LIM_EXPIRED   2

Definition at line 33 of file lmaudit.h.

◆ AE_LIM_INVAL_WKSTA

#define AE_LIM_INVAL_WKSTA   3

Definition at line 34 of file lmaudit.h.

◆ AE_LIM_LOGONHOURS

#define AE_LIM_LOGONHOURS   1

Definition at line 32 of file lmaudit.h.

◆ AE_LIM_UNKNOWN

#define AE_LIM_UNKNOWN   0

Definition at line 31 of file lmaudit.h.

◆ AE_LOCKOUT

#define AE_LOCKOUT   20

Definition at line 238 of file lmaudit.h.

◆ AE_MOD

#define AE_MOD   0

Definition at line 37 of file lmaudit.h.

◆ AE_NETLOGDENIED

#define AE_NETLOGDENIED   16

Definition at line 234 of file lmaudit.h.

◆ AE_NETLOGOFF

#define AE_NETLOGOFF   15

Definition at line 233 of file lmaudit.h.

◆ AE_NETLOGON

#define AE_NETLOGON   14

Definition at line 232 of file lmaudit.h.

◆ AE_NOACCESSPERM

#define AE_NOACCESSPERM   3

Definition at line 26 of file lmaudit.h.

◆ AE_NORMAL

#define AE_NORMAL   0

Definition at line 16 of file lmaudit.h.

◆ AE_NORMAL_CLOSE

#define AE_NORMAL_CLOSE   0

Definition at line 28 of file lmaudit.h.

◆ AE_RESACCESS

Definition at line 226 of file lmaudit.h.

◆ AE_RESACCESS2

#define AE_RESACCESS2   18

Definition at line 236 of file lmaudit.h.

◆ AE_RESACCESSREJ

Definition at line 227 of file lmaudit.h.

◆ AE_SERVICESTAT

Definition at line 229 of file lmaudit.h.

◆ AE_SES_CLOSE

#define AE_SES_CLOSE   1

Definition at line 29 of file lmaudit.h.

◆ AE_SESSDIS

#define AE_SESSDIS   1

Definition at line 20 of file lmaudit.h.

◆ AE_SESSLOGOFF

Definition at line 221 of file lmaudit.h.

◆ AE_SESSLOGON

Definition at line 220 of file lmaudit.h.

◆ AE_SESSPWERR

Definition at line 222 of file lmaudit.h.

◆ AE_SRVCONT

#define AE_SRVCONT   2

Definition at line 242 of file lmaudit.h.

◆ AE_SRVPAUSED

#define AE_SRVPAUSED   1

Definition at line 241 of file lmaudit.h.

◆ AE_SRVSTART

#define AE_SRVSTART   0

Definition at line 240 of file lmaudit.h.

◆ AE_SRVSTATUS

Definition at line 219 of file lmaudit.h.

◆ AE_SRVSTOP

#define AE_SRVSTOP   3

Definition at line 243 of file lmaudit.h.

◆ AE_UAS_GROUP

#define AE_UAS_GROUP   1

Definition at line 41 of file lmaudit.h.

◆ AE_UAS_MODALS

#define AE_UAS_MODALS   2

Definition at line 42 of file lmaudit.h.

◆ AE_UAS_USER

#define AE_UAS_USER   0

Definition at line 40 of file lmaudit.h.

◆ AE_UASMOD

#define AE_UASMOD   13

Definition at line 231 of file lmaudit.h.

◆ AE_UNSHARE

#define AE_UNSHARE   2

Definition at line 23 of file lmaudit.h.

◆ AE_USER

#define AE_USER   1

Definition at line 14 of file lmaudit.h.

◆ AE_USERLIMIT

#define AE_USERLIMIT   0

Definition at line 17 of file lmaudit.h.

◆ LOGFLAGS_BACKWARD

#define LOGFLAGS_BACKWARD   1

Definition at line 9 of file lmaudit.h.

◆ LOGFLAGS_FORWARD

#define LOGFLAGS_FORWARD   0

Definition at line 8 of file lmaudit.h.

◆ LOGFLAGS_SEEK

#define LOGFLAGS_SEEK   2

Definition at line 10 of file lmaudit.h.

◆ REVISED_AUDIT_ENTRY_STRUCT

#define REVISED_AUDIT_ENTRY_STRUCT

Definition at line 7 of file lmaudit.h.

◆ SVAUD_BADNETLOGON

#define SVAUD_BADNETLOGON   384

Definition at line 48 of file lmaudit.h.

◆ SVAUD_BADSESSLOGON

#define SVAUD_BADSESSLOGON   24

Definition at line 45 of file lmaudit.h.

◆ SVAUD_BADUSE

#define SVAUD_BADUSE   0x1800

Definition at line 52 of file lmaudit.h.

◆ SVAUD_GOODNETLOGON

#define SVAUD_GOODNETLOGON   96

Definition at line 47 of file lmaudit.h.

◆ SVAUD_GOODSESSLOGON

#define SVAUD_GOODSESSLOGON   6

Definition at line 44 of file lmaudit.h.

◆ SVAUD_GOODUSE

#define SVAUD_GOODUSE   0x600

Definition at line 51 of file lmaudit.h.

◆ SVAUD_LOGON

#define SVAUD_LOGON   (SVAUD_NETLOGON|SVAUD_SESSLOGON)

Definition at line 50 of file lmaudit.h.

◆ SVAUD_LOGONLIM

#define SVAUD_LOGONLIM   65536

Definition at line 57 of file lmaudit.h.

◆ SVAUD_NETLOGON

Definition at line 49 of file lmaudit.h.

◆ SVAUD_PERMISSIONS

#define SVAUD_PERMISSIONS   16384

Definition at line 55 of file lmaudit.h.

◆ SVAUD_RESOURCE

#define SVAUD_RESOURCE   32768

Definition at line 56 of file lmaudit.h.

◆ SVAUD_SERVICE

#define SVAUD_SERVICE   1

Definition at line 43 of file lmaudit.h.

◆ SVAUD_SESSLOGON

Definition at line 46 of file lmaudit.h.

◆ SVAUD_USE

#define SVAUD_USE   (SVAUD_GOODUSE|SVAUD_BADUSE)

Definition at line 53 of file lmaudit.h.

◆ SVAUD_USERLIST

#define SVAUD_USERLIST   8192

Definition at line 54 of file lmaudit.h.

Typedef Documentation

◆ AE_ACCLIM

◆ AE_ACLMOD

◆ AE_CLOSEFILE

◆ AE_CONNREJ

◆ AE_CONNSTART

◆ AE_CONNSTOP

◆ AE_GENERIC

◆ AE_LOCKOUT

◆ AE_NETLOGOFF

◆ AE_NETLOGON

◆ AE_RESACCESS

◆ AE_RESACCESSREJ

◆ AE_SERVICESTAT

◆ AE_SESSLOGOFF

◆ AE_SESSLOGON

◆ AE_SESSPWERR

◆ AE_SRVSTATUS

◆ AE_UASMOD

◆ AUDIT_ENTRY

◆ HLOG

typedef struct _HLOG HLOG

◆ LPAE_ACCLIM

◆ LPAE_ACLMOD

◆ LPAE_CLOSEFILE

◆ LPAE_CONNREJ

◆ LPAE_CONNSTART

◆ LPAE_CONNSTOP

◆ LPAE_GENERIC

◆ LPAE_LOCKOUT

◆ LPAE_NETLOGOFF

◆ LPAE_NETLOGON

◆ LPAE_RESACCESS

◆ LPAE_RESACCESSREJ

◆ LPAE_SERVICESTAT

◆ LPAE_SESSLOGOFF

◆ LPAE_SESSLOGON

◆ LPAE_SESSPWERR

◆ LPAE_SRVSTATUS

◆ LPAE_UASMOD

◆ LPAUDIT_ENTRY

◆ LPHLOG

typedef struct _HLOG* LPHLOG

◆ PAE_ACCLIM

◆ PAE_ACLMOD

◆ PAE_CLOSEFILE

◆ PAE_CONNREJ

◆ PAE_CONNSTART

◆ PAE_CONNSTOP

◆ PAE_GENERIC

◆ PAE_LOCKOUT

◆ PAE_NETLOGOFF

◆ PAE_NETLOGON

◆ PAE_RESACCESS

◆ PAE_RESACCESSREJ

◆ PAE_SERVICESTAT

◆ PAE_SESSLOGOFF

◆ PAE_SESSLOGON

◆ PAE_SESSPWERR

◆ PAE_SRVSTATUS

◆ PAE_UASMOD

◆ PAUDIT_ENTRY

◆ PHLOG

typedef struct _HLOG* PHLOG

Function Documentation

◆ NetAuditClear()

NET_API_STATUS WINAPI NetAuditClear ( LPCWSTR  ,
LPCWSTR  ,
LPCWSTR   
)

◆ NetAuditRead()

NET_API_STATUS WINAPI NetAuditRead ( LPCWSTR  ,
LPCWSTR  ,
LPHLOG  ,
DWORD  ,
PDWORD  ,
DWORD  ,
DWORD  ,
PBYTE ,
DWORD  ,
PDWORD  ,
PDWORD   
)

◆ NetAuditWrite()

NET_API_STATUS WINAPI NetAuditWrite ( DWORD  ,
PBYTE  ,
DWORD  ,
LPCWSTR  ,
PBYTE   
)