ReactOS  0.4.10-dev-509-g12e8d7f
csrmsg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CSR_API_CONNECTINFO
 
struct  _CSR_IDENTIFY_ALTERTABLE_THREAD
 
struct  _CSR_SET_PRIORITY_CLASS
 
struct  CSRSS_IDENTIFY_ALERTABLE_THREAD
 
struct  _CSR_CLIENT_CONNECT
 
struct  _CSR_CAPTURE_BUFFER
 
struct  _CSR_API_MESSAGE
 

Macros

#define CSR_PORT_NAME   L"ApiPort"
 
#define CSRSRV_SERVERDLL_INDEX   0
 
#define CSRSRV_FIRST_API_NUMBER   0
 
#define CSR_CREATE_API_NUMBER(ServerId, ApiId)   (CSR_API_NUMBER)(((ServerId) << 16) | (ApiId))
 
#define CSR_API_NUMBER_TO_SERVER_ID(ApiNumber)   (ULONG)((ULONG)(ApiNumber) >> 16)
 
#define CSR_API_NUMBER_TO_API_ID(ApiNumber)   (ULONG)((ULONG)(ApiNumber) & 0xFFFF)
 
#define CHECK_API_MSG_SIZE(type)   C_ASSERT(sizeof(type) <= sizeof(CSR_API_MESSAGE))
 

Typedefs

typedef enum _CSRSRV_API_NUMBER CSRSRV_API_NUMBER
 
typedef enum _CSRSRV_API_NUMBERPCSRSRV_API_NUMBER
 
typedef ULONG CSR_API_NUMBER
 
typedef struct _CSR_API_CONNECTINFO CSR_API_CONNECTINFO
 
typedef struct
_CSR_API_CONNECTINFO
PCSR_API_CONNECTINFO
 
typedef struct
_CSR_IDENTIFY_ALTERTABLE_THREAD 
CSR_IDENTIFY_ALTERTABLE_THREAD
 
typedef struct
_CSR_IDENTIFY_ALTERTABLE_THREAD
PCSR_IDENTIFY_ALTERTABLE_THREAD
 
typedef struct
_CSR_SET_PRIORITY_CLASS 
CSR_SET_PRIORITY_CLASS
 
typedef struct
_CSR_SET_PRIORITY_CLASS
PCSR_SET_PRIORITY_CLASS
 
typedef struct
CSRSS_IDENTIFY_ALERTABLE_THREAD
PCSRSS_IDENTIFY_ALERTABLE_THREAD
 
typedef struct _CSR_CLIENT_CONNECT CSR_CLIENT_CONNECT
 
typedef struct
_CSR_CLIENT_CONNECT
PCSR_CLIENT_CONNECT
 
typedef struct _CSR_CAPTURE_BUFFER CSR_CAPTURE_BUFFER
 
typedef struct
_CSR_CAPTURE_BUFFER
PCSR_CAPTURE_BUFFER
 
typedef struct _CSR_API_MESSAGE CSR_API_MESSAGE
 
typedef struct _CSR_API_MESSAGEPCSR_API_MESSAGE
 

Enumerations

enum  _CSRSRV_API_NUMBER {
  CsrpClientConnect = CSRSRV_FIRST_API_NUMBER, CsrpThreadConnect, CsrpProfileControl, CsrpIdentifyAlertable,
  CsrpSetPriorityClass, CsrpMaxApiNumber
}
 

Functions

 C_ASSERT (sizeof(CSR_API_CONNECTINFO)<=LPC_MAX_DATA_LENGTH)
 
 C_ASSERT (sizeof(CSR_API_MESSAGE)<=LPC_MAX_MESSAGE_LENGTH)
 

Macro Definition Documentation

#define CHECK_API_MSG_SIZE (   type)    C_ASSERT(sizeof(type) <= sizeof(CSR_API_MESSAGE))

Definition at line 149 of file csrmsg.h.

#define CSR_API_NUMBER_TO_API_ID (   ApiNumber)    (ULONG)((ULONG)(ApiNumber) & 0xFFFF)

Definition at line 43 of file csrmsg.h.

Referenced by CsrApiRequestThread(), and CsrCallServerFromServer().

#define CSR_API_NUMBER_TO_SERVER_ID (   ApiNumber)    (ULONG)((ULONG)(ApiNumber) >> 16)

Definition at line 40 of file csrmsg.h.

Referenced by CsrApiRequestThread(), and CsrCallServerFromServer().

#define CSR_CREATE_API_NUMBER (   ServerId,
  ApiId 
)    (CSR_API_NUMBER)(((ServerId) << 16) | (ApiId))

Definition at line 37 of file csrmsg.h.

Referenced by BaseCheckForVDM(), BaseCheckVDM(), BasepNotifyCsrOfThread(), BaseUpdateVDMEntry(), CloseConsoleHandle(), ConsoleMenuControl(), CreateConsoleScreenBuffer(), CreateProcessInternalW(), CsrClientConnectToServer(), CsrIdentifyAlertableThread(), CsrSetPriorityClass(), DefineDosDeviceW(), DuplicateConsoleHandle(), EndTask(), ExitProcess(), ExitVDM(), ExitWindowsWorker(), FlushConsoleInputBuffer(), FreeConsole(), GenerateConsoleCtrlEvent(), GetConsoleCP(), GetConsoleCursorInfo(), GetConsoleDisplayMode(), GetConsoleFontInfo(), GetConsoleFontSize(), GetConsoleHandleInformation(), GetConsoleHardwareState(), GetConsoleMode(), GetConsoleOutputCP(), GetConsoleProcessList(), GetConsoleScreenBufferInfo(), GetConsoleSelectionInfo(), GetConsoleWindow(), GetCurrentConsoleFont(), GetLargestConsoleWindowSize(), GetNextVDMCommand(), GetNumberOfConsoleFonts(), GetNumberOfConsoleInputEvents(), GetNumberOfConsoleMouseButtons(), GetProcessShutdownParameters(), GetTempFileNameW(), GetThreadDesktop(), GetVDMCurrentDirectories(), IntAddConsoleAlias(), IntAllocConsole(), IntAttachConsole(), IntExpungeConsoleCommandHistory(), IntFillConsoleOutputCode(), IntGetConsoleAlias(), IntGetConsoleAliases(), IntGetConsoleAliasesLength(), IntGetConsoleAliasExes(), IntGetConsoleAliasExesLength(), IntGetConsoleCommandHistory(), IntGetConsoleCommandHistoryLength(), IntGetConsoleInput(), IntGetConsoleKeyboardLayoutName(), IntGetConsoleTitle(), IntReadConsole(), IntReadConsoleOutput(), IntReadConsoleOutputCode(), IntScrollConsoleScreenBuffer(), IntSetConsoleNumberOfCommands(), IntSetConsoleTitle(), IntWriteConsole(), IntWriteConsoleInput(), IntWriteConsoleOutput(), IntWriteConsoleOutputCode(), InvalidateConsoleDIBits(), Logon(), NotifySoundSentry(), OpenConsoleW(), RegisterConsoleVDM(), RegisterLogonProcess(), RegisterServicesProcess(), SetConsoleActiveScreenBuffer(), SetConsoleCommandHistoryMode(), SetConsoleCP(), SetConsoleCursor(), SetConsoleCursorInfo(), SetConsoleCursorPosition(), SetConsoleDisplayMode(), SetConsoleFont(), SetConsoleHandleInformation(), SetConsoleHardwareState(), SetConsoleIcon(), SetConsoleMenuClose(), SetConsoleMode(), SetConsoleOutputCP(), SetConsolePalette(), SetConsoleScreenBufferSize(), SetConsoleTextAttribute(), SetConsoleWindowInfo(), SetLastConsoleEventActive(), SetProcessShutdownParameters(), SetVDMCurrentDirectories(), ShowConsoleCursor(), and VerifyConsoleIoHandle().

#define CSR_PORT_NAME   L"ApiPort"

Definition at line 17 of file csrmsg.h.

Referenced by CsrApiPortInitialize(), and CsrpConnectToServer().

#define CSRSRV_FIRST_API_NUMBER   0

Definition at line 21 of file csrmsg.h.

Referenced by CSR_SERVER_DLL_INIT().

#define CSRSRV_SERVERDLL_INDEX   0

Typedef Documentation

Definition at line 35 of file csrmsg.h.

Enumeration Type Documentation

Enumerator
CsrpClientConnect 
CsrpThreadConnect 
CsrpProfileControl 
CsrpIdentifyAlertable 
CsrpSetPriorityClass 
CsrpMaxApiNumber 

Definition at line 23 of file csrmsg.h.

24 {
30 
enum _CSRSRV_API_NUMBER CSRSRV_API_NUMBER
#define CSRSRV_FIRST_API_NUMBER
Definition: csrmsg.h:21
enum _CSRSRV_API_NUMBER * PCSRSRV_API_NUMBER

Function Documentation

C_ASSERT ( sizeof(CSR_API_CONNECTINFO)<=  LPC_MAX_DATA_LENGTH)
C_ASSERT ( sizeof(CSR_API_MESSAGE)<=  LPC_MAX_MESSAGE_LENGTH)