ReactOS 0.4.15-dev-5669-g09dde2c
base.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _NLS_USER_INFO
 
struct  _INIFILE_MAPPING_TARGET
 
struct  _INIFILE_MAPPING_VARNAME
 
struct  _INIFILE_MAPPING_APPNAME
 
struct  _INIFILE_MAPPING_FILENAME
 
struct  _INIFILE_MAPPING
 
struct  _BASE_STATIC_SERVER_DATA
 

Macros

#define NLS_SIZEOF_ACE_AND_SIDS(n)
 
#define NLS_SECTION_SECURITY_DESCRIPTOR_SIZE    (sizeof(SECURITY_DESCRIPTOR) + sizeof(ACL) + NLS_SIZEOF_ACE_AND_SIDS(1))
 

Typedefs

typedef BOOL(NTAPIBASE_PROCESS_CREATE_NOTIFY_ROUTINE) (HANDLE NewProcessId, HANDLE ParentThreadId, ULONG dwUnknown, ULONG CreateFlags)
 
typedef struct _NLS_USER_INFO NLS_USER_INFO
 
typedef struct _NLS_USER_INFOPNLS_USER_INFO
 
typedef struct _INIFILE_MAPPING_TARGET INIFILE_MAPPING_TARGET
 
typedef struct _INIFILE_MAPPING_TARGETPINIFILE_MAPPING_TARGET
 
typedef struct _INIFILE_MAPPING_VARNAME INIFILE_MAPPING_VARNAME
 
typedef struct _INIFILE_MAPPING_VARNAMEPINIFILE_MAPPING_VARNAME
 
typedef struct _INIFILE_MAPPING_APPNAME INIFILE_MAPPING_APPNAME
 
typedef struct _INIFILE_MAPPING_APPNAMEPINIFILE_MAPPING_APPNAME
 
typedef struct _INIFILE_MAPPING_FILENAME INIFILE_MAPPING_FILENAME
 
typedef struct _INIFILE_MAPPING_FILENAMEPINIFILE_MAPPING_FILENAME
 
typedef struct _INIFILE_MAPPING INIFILE_MAPPING
 
typedef struct _INIFILE_MAPPINGPINIFILE_MAPPING
 
typedef struct _BASE_STATIC_SERVER_DATA BASE_STATIC_SERVER_DATA
 
typedef struct _BASE_STATIC_SERVER_DATAPBASE_STATIC_SERVER_DATA
 

Functions

VOID NTAPI BaseSetProcessCreateNotify (IN BASE_PROCESS_CREATE_NOTIFY_ROUTINE ProcessCreateNotifyProc)
 
 C_ASSERT (sizeof(NLS_USER_INFO)==0x1870)
 

Macro Definition Documentation

◆ NLS_SECTION_SECURITY_DESCRIPTOR_SIZE

#define NLS_SECTION_SECURITY_DESCRIPTOR_SIZE    (sizeof(SECURITY_DESCRIPTOR) + sizeof(ACL) + NLS_SIZEOF_ACE_AND_SIDS(1))

Definition at line 31 of file base.h.

◆ NLS_SIZEOF_ACE_AND_SIDS

#define NLS_SIZEOF_ACE_AND_SIDS (   n)
Value:
FIELD_OFFSET(SID, SubAuthority) + (n)*RTL_FIELD_SIZE(SID, SubAuthority))
GLdouble n
Definition: glext.h:7729
#define RTL_FIELD_SIZE(type, field)
Definition: kdb_expr.c:84
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255

Definition at line 26 of file base.h.

Typedef Documentation

◆ BASE_PROCESS_CREATE_NOTIFY_ROUTINE

typedef BOOL(NTAPI * BASE_PROCESS_CREATE_NOTIFY_ROUTINE) (HANDLE NewProcessId, HANDLE ParentThreadId, ULONG dwUnknown, ULONG CreateFlags)

Definition at line 15 of file base.h.

◆ BASE_STATIC_SERVER_DATA

◆ INIFILE_MAPPING

◆ INIFILE_MAPPING_APPNAME

◆ INIFILE_MAPPING_FILENAME

◆ INIFILE_MAPPING_TARGET

◆ INIFILE_MAPPING_VARNAME

◆ NLS_USER_INFO

◆ PBASE_STATIC_SERVER_DATA

◆ PINIFILE_MAPPING

◆ PINIFILE_MAPPING_APPNAME

◆ PINIFILE_MAPPING_FILENAME

◆ PINIFILE_MAPPING_TARGET

◆ PINIFILE_MAPPING_VARNAME

◆ PNLS_USER_INFO

Function Documentation

◆ BaseSetProcessCreateNotify()

VOID NTAPI BaseSetProcessCreateNotify ( IN BASE_PROCESS_CREATE_NOTIFY_ROUTINE  ProcessCreateNotifyProc)

Definition at line 321 of file proc.c.

322{
323 /* Set the user notification procedure to be called when a process is created */
324 UserNotifyProcessCreate = ProcessCreateNotifyProc;
325}
static BASE_PROCESS_CREATE_NOTIFY_ROUTINE UserNotifyProcessCreate
Definition: proc.c:20

Referenced by CSR_SERVER_DLL_INIT().

◆ C_ASSERT()

C_ASSERT ( sizeof(NLS_USER_INFO = =0x1870)