ReactOS  0.4.13-dev-551-gf37fb1f
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_CONNECTINFOPCSR_API_CONNECTINFO
 
typedef struct _CSR_IDENTIFY_ALTERTABLE_THREAD CSR_IDENTIFY_ALTERTABLE_THREAD
 
typedef struct _CSR_IDENTIFY_ALTERTABLE_THREADPCSR_IDENTIFY_ALTERTABLE_THREAD
 
typedef struct _CSR_SET_PRIORITY_CLASS CSR_SET_PRIORITY_CLASS
 
typedef struct _CSR_SET_PRIORITY_CLASSPCSR_SET_PRIORITY_CLASS
 
typedef struct CSRSS_IDENTIFY_ALERTABLE_THREADPCSRSS_IDENTIFY_ALERTABLE_THREAD
 
typedef struct _CSR_CLIENT_CONNECT CSR_CLIENT_CONNECT
 
typedef struct _CSR_CLIENT_CONNECTPCSR_CLIENT_CONNECT
 
typedef struct _CSR_CAPTURE_BUFFER CSR_CAPTURE_BUFFER
 
typedef struct _CSR_CAPTURE_BUFFERPCSR_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

◆ CHECK_API_MSG_SIZE

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

Definition at line 149 of file csrmsg.h.

◆ CSR_API_NUMBER_TO_API_ID

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

Definition at line 43 of file csrmsg.h.

◆ CSR_API_NUMBER_TO_SERVER_ID

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

Definition at line 40 of file csrmsg.h.

◆ CSR_CREATE_API_NUMBER

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

Definition at line 37 of file csrmsg.h.

◆ CSR_PORT_NAME

#define CSR_PORT_NAME   L"ApiPort"

Definition at line 17 of file csrmsg.h.

◆ CSRSRV_FIRST_API_NUMBER

#define CSRSRV_FIRST_API_NUMBER   0

Definition at line 21 of file csrmsg.h.

◆ CSRSRV_SERVERDLL_INDEX

#define CSRSRV_SERVERDLL_INDEX   0

Definition at line 20 of file csrmsg.h.

Typedef Documentation

◆ CSR_API_CONNECTINFO

◆ CSR_API_MESSAGE

◆ CSR_API_NUMBER

Definition at line 35 of file csrmsg.h.

◆ CSR_CAPTURE_BUFFER

◆ CSR_CLIENT_CONNECT

◆ CSR_IDENTIFY_ALTERTABLE_THREAD

◆ CSR_SET_PRIORITY_CLASS

◆ CSRSRV_API_NUMBER

◆ PCSR_API_CONNECTINFO

◆ PCSR_API_MESSAGE

◆ PCSR_CAPTURE_BUFFER

◆ PCSR_CLIENT_CONNECT

◆ PCSR_IDENTIFY_ALTERTABLE_THREAD

◆ PCSR_SET_PRIORITY_CLASS

◆ PCSRSRV_API_NUMBER

◆ PCSRSS_IDENTIFY_ALERTABLE_THREAD

Enumeration Type Documentation

◆ _CSRSRV_API_NUMBER

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() [1/2]

C_ASSERT ( sizeof(CSR_API_CONNECTINFO)<=  LPC_MAX_DATA_LENGTH)

◆ C_ASSERT() [2/2]

C_ASSERT ( sizeof(CSR_API_MESSAGE)<=  LPC_MAX_MESSAGE_LENGTH)