ReactOS 0.4.16-dev-334-g4d9f67c
srv.h File Reference
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <ndk/setypes.h>
#include <ndk/sefuncs.h>
#include <ndk/exfuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/lpcfuncs.h>
#include <ndk/umfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
#include <csr/csrsrv.h>
#include <pseh/pseh2.h>
#include <sm/smmsg.h>
#include "api.h"
Include dependency graph for srv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define NTOS_MODE_USER
 
#define SM_REG_KEY    L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Session Manager"
 
#define SESSION_ROOT   L"\\Sessions"
 
#define GLOBAL_ROOT   L"\\GLOBAL??"
 
#define SYMLINK_NAME   L"SymbolicLink"
 
#define SB_PORT_NAME   L"SbApiPort"
 
#define CSR_PORT_NAME   L"ApiPort"
 
#define UNICODE_PATH_SEP   L"\\"
 
#define ROUND_UP(n, align)   ROUND_DOWN(((ULONG)(n)) + (align) - 1, (align))
 
#define ROUND_DOWN(n, align)   (((ULONG)(n)) & ~((align) - 1l))
 
#define InterlockedIncrementUL(Value)   (ULONG)_InterlockedIncrement((PLONG)(Value))
 
#define InterlockedDecrementUL(Value)   (ULONG)_InterlockedDecrement((PLONG)(Value))
 

Macro Definition Documentation

◆ CSR_PORT_NAME

#define CSR_PORT_NAME   L"ApiPort"

Definition at line 48 of file srv.h.

◆ GLOBAL_ROOT

#define GLOBAL_ROOT   L"\\GLOBAL??"

Definition at line 45 of file srv.h.

◆ InterlockedDecrementUL

#define InterlockedDecrementUL (   Value)    (ULONG)_InterlockedDecrement((PLONG)(Value))

Definition at line 54 of file srv.h.

◆ InterlockedIncrementUL

#define InterlockedIncrementUL (   Value)    (ULONG)_InterlockedIncrement((PLONG)(Value))

Definition at line 53 of file srv.h.

◆ NTOS_MODE_USER

#define NTOS_MODE_USER

Definition at line 18 of file srv.h.

◆ ROUND_DOWN

#define ROUND_DOWN (   n,
  align 
)    (((ULONG)(n)) & ~((align) - 1l))

Definition at line 52 of file srv.h.

◆ ROUND_UP

#define ROUND_UP (   n,
  align 
)    ROUND_DOWN(((ULONG)(n)) + (align) - 1, (align))

Definition at line 51 of file srv.h.

◆ SB_PORT_NAME

#define SB_PORT_NAME   L"SbApiPort"

Definition at line 47 of file srv.h.

◆ SESSION_ROOT

#define SESSION_ROOT   L"\\Sessions"

Definition at line 44 of file srv.h.

◆ SM_REG_KEY

#define SM_REG_KEY    L"\\Registry\\Machine\\System\\CurrentControlSet\\Control\\Session Manager"

Definition at line 41 of file srv.h.

◆ SYMLINK_NAME

#define SYMLINK_NAME   L"SymbolicLink"

Definition at line 46 of file srv.h.

◆ UNICODE_PATH_SEP

#define UNICODE_PATH_SEP   L"\\"

Definition at line 49 of file srv.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 15 of file srv.h.