ReactOS  0.4.14-dev-77-gd9e7c48
shared.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DEBUGGER_STATUS_BLOCK
 
struct  _PICE_SYMBOLFILE_HEADER
 
struct  _STAB_ENTRY
 
struct  _PICE_SYMBOLFILE_SOURCE
 
struct  _SERIAL_PACKET_HEADER
 
struct  _SERIAL_PACKET
 
struct  _SERIAL_DATA_PACKET
 
struct  _SERIAL_DATA_PACKET_CLRLINE
 
struct  _SERIAL_DATA_PACKET_PRINT
 
struct  _SERIAL_DATA_PACKET_CONNECT
 
struct  _SERIAL_DATA_PACKET_CURSOR
 
struct  _SERIAL_DATA_PACKET_INVERTLINE
 
struct  _SERIAL_DATA_PACKET_POLL
 

Macros

#define CTL_CODE(Dev, Func, Meth, Acc)   ( ((Dev)<<16) | ((Acc)<<14) | ((Func)<<2) | (Meth))
 
#define METHOD_BUFFERED   0
 
#define METHOD_IN_DIRECT   1
 
#define METHOD_OUT_DIRECT   2
 
#define METHOD_NEITHER   3
 
#define FILE_ANY_ACCESS   0
 
#define FILE_READ_ACCESS   1
 
#define FILE_WRITE_ACCESS   2
 
#define PICE_DEVICE_DEBUGGER   64787
 
#define PICE_IOCTL_LOAD   CTL_CODE(PICE_DEVICE_DEBUGGER, 2049, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define PICE_IOCTL_UNLOAD   CTL_CODE(PICE_DEVICE_DEBUGGER, 2050, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define PICE_IOCTL_RELOAD   CTL_CODE(PICE_DEVICE_DEBUGGER, 2051, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define PICE_IOCTL_BREAK   CTL_CODE(PICE_DEVICE_DEBUGGER, 2052, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define PICE_IOCTL_STATUS   CTL_CODE(PICE_DEVICE_DEBUGGER, 2053, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define MAGIC_ULONG(ch0, ch1, ch2, ch3)
 
#define PICE_MAGIC   MAGIC_ULONG('P','I','C','E')
 
#define DEBUG_MODULE_NAME_LEN   32
 
#define ACK   (0)
 
#define PACKET_TYPE_CLRLINE   (0)
 
#define PACKET_TYPE_PRINT   (1)
 
#define PACKET_TYPE_CONNECT   (2)
 
#define PACKET_TYPE_CURSOR   (3)
 
#define PACKET_TYPE_INVERTLINE   (4)
 
#define PACKET_TYPE_POLL   (5)
 

Typedefs

typedef struct _DEBUGGER_STATUS_BLOCK DEBUGGER_STATUS_BLOCK
 
typedef struct _DEBUGGER_STATUS_BLOCKPDEBUGGER_STATUS_BLOCK
 
typedef struct _PICE_SYMBOLFILE_HEADER PICE_SYMBOLFILE_HEADER
 
typedef struct _STAB_ENTRY STAB_ENTRY
 
typedef struct _STAB_ENTRYPSTAB_ENTRY
 
typedef struct _PICE_SYMBOLFILE_SOURCE PICE_SYMBOLFILE_SOURCE
 
typedef struct _SERIAL_PACKET_HEADER SERIAL_PACKET_HEADER
 
typedef struct _SERIAL_PACKET_HEADERPSERIAL_PACKET_HEADER
 
typedef struct _SERIAL_PACKET SERIAL_PACKET
 
typedef struct _SERIAL_PACKETPSERIAL_PACKET
 
typedef enum _ECOLORS ECOLORS
 
typedef struct _SERIAL_DATA_PACKET SERIAL_DATA_PACKET
 
typedef struct _SERIAL_DATA_PACKETPSERIAL_DATA_PACKET
 
typedef struct _SERIAL_DATA_PACKET_CLRLINE SERIAL_DATA_PACKET_CLRLINE
 
typedef struct _SERIAL_DATA_PACKET_CLRLINEPSERIAL_DATA_PACKET_CLRLINE
 
typedef struct _SERIAL_DATA_PACKET_PRINT SERIAL_DATA_PACKET_PRINT
 
typedef struct _SERIAL_DATA_PACKET_PRINTPSERIAL_DATA_PACKET_PRINT
 
typedef struct _SERIAL_DATA_PACKET_CONNECT SERIAL_DATA_PACKET_CONNECT
 
typedef struct _SERIAL_DATA_PACKET_CONNECTPSERIAL_DATA_PACKET_CONNECT
 
typedef struct _SERIAL_DATA_PACKET_CURSOR SERIAL_DATA_PACKET_CURSOR
 
typedef struct _SERIAL_DATA_PACKET_CURSORPSERIAL_DATA_PACKET_CURSOR
 
typedef struct _SERIAL_DATA_PACKET_INVERTLINE SERIAL_DATA_PACKET_INVERTLINE
 
typedef struct _SERIAL_DATA_PACKET_INVERTLINEPSERIAL_DATA_PACKET_INVERTLINE
 
typedef struct _SERIAL_DATA_PACKET_POLL SERIAL_DATA_PACKET_POLL
 
typedef struct _SERIAL_DATA_PACKET_POLLPSERIAL_DATA_PACKET_POLL
 

Enumerations

enum  _ECOLORS {
  BLACK = 0, BLUE, GREEN, TURK,
  RED, VIOLET, BROWN, LTGRAY,
  GRAY, LTBLUE, LT_GREEN, LTTURK,
  LTRED, LTVIOLET, YELLOW, WHITE
}
 

Macro Definition Documentation

◆ ACK

#define ACK   (0)

Definition at line 126 of file shared.h.

◆ CTL_CODE

#define CTL_CODE (   Dev,
  Func,
  Meth,
  Acc 
)    ( ((Dev)<<16) | ((Acc)<<14) | ((Func)<<2) | (Meth))

Definition at line 43 of file shared.h.

◆ DEBUG_MODULE_NAME_LEN

#define DEBUG_MODULE_NAME_LEN   32

Definition at line 79 of file shared.h.

◆ FILE_ANY_ACCESS

#define FILE_ANY_ACCESS   0

Definition at line 51 of file shared.h.

◆ FILE_READ_ACCESS

#define FILE_READ_ACCESS   1

Definition at line 52 of file shared.h.

◆ FILE_WRITE_ACCESS

#define FILE_WRITE_ACCESS   2

Definition at line 53 of file shared.h.

◆ MAGIC_ULONG

#define MAGIC_ULONG (   ch0,
  ch1,
  ch2,
  ch3 
)
Value:
( (ULONG)(UCHAR)(ch0) | \
( (ULONG)(UCHAR)(ch1) << 8 ) | \
( (ULONG)(UCHAR)(ch2) << 16 ) | \
( (ULONG)(UCHAR)(ch3) << 24 ) )
unsigned char UCHAR
Definition: xmlstorage.h:181
unsigned int ULONG
Definition: retypes.h:1

Definition at line 71 of file shared.h.

◆ METHOD_BUFFERED

#define METHOD_BUFFERED   0

Definition at line 45 of file shared.h.

◆ METHOD_IN_DIRECT

#define METHOD_IN_DIRECT   1

Definition at line 46 of file shared.h.

◆ METHOD_NEITHER

#define METHOD_NEITHER   3

Definition at line 48 of file shared.h.

◆ METHOD_OUT_DIRECT

#define METHOD_OUT_DIRECT   2

Definition at line 47 of file shared.h.

◆ PACKET_TYPE_CLRLINE

#define PACKET_TYPE_CLRLINE   (0)

Definition at line 154 of file shared.h.

◆ PACKET_TYPE_CONNECT

#define PACKET_TYPE_CONNECT   (2)

Definition at line 172 of file shared.h.

◆ PACKET_TYPE_CURSOR

#define PACKET_TYPE_CURSOR   (3)

Definition at line 179 of file shared.h.

◆ PACKET_TYPE_INVERTLINE

#define PACKET_TYPE_INVERTLINE   (4)

Definition at line 186 of file shared.h.

◆ PACKET_TYPE_POLL

#define PACKET_TYPE_POLL   (5)

Definition at line 193 of file shared.h.

◆ PACKET_TYPE_PRINT

#define PACKET_TYPE_PRINT   (1)

Definition at line 162 of file shared.h.

◆ PICE_DEVICE_DEBUGGER

#define PICE_DEVICE_DEBUGGER   64787

Definition at line 57 of file shared.h.

◆ PICE_IOCTL_BREAK

Definition at line 62 of file shared.h.

◆ PICE_IOCTL_LOAD

Definition at line 59 of file shared.h.

◆ PICE_IOCTL_RELOAD

Definition at line 61 of file shared.h.

◆ PICE_IOCTL_STATUS

Definition at line 63 of file shared.h.

◆ PICE_IOCTL_UNLOAD

Definition at line 60 of file shared.h.

◆ PICE_MAGIC

#define PICE_MAGIC   MAGIC_ULONG('P','I','C','E')

Definition at line 77 of file shared.h.

Typedef Documentation

◆ DEBUGGER_STATUS_BLOCK

◆ ECOLORS

◆ PDEBUGGER_STATUS_BLOCK

◆ PICE_SYMBOLFILE_HEADER

◆ PICE_SYMBOLFILE_SOURCE

◆ PSERIAL_DATA_PACKET

◆ PSERIAL_DATA_PACKET_CLRLINE

◆ PSERIAL_DATA_PACKET_CONNECT

◆ PSERIAL_DATA_PACKET_CURSOR

◆ PSERIAL_DATA_PACKET_INVERTLINE

◆ PSERIAL_DATA_PACKET_POLL

◆ PSERIAL_DATA_PACKET_PRINT

◆ PSERIAL_PACKET

◆ PSERIAL_PACKET_HEADER

◆ PSTAB_ENTRY

◆ SERIAL_DATA_PACKET

◆ SERIAL_DATA_PACKET_CLRLINE

◆ SERIAL_DATA_PACKET_CONNECT

◆ SERIAL_DATA_PACKET_CURSOR

◆ SERIAL_DATA_PACKET_INVERTLINE

◆ SERIAL_DATA_PACKET_POLL

◆ SERIAL_DATA_PACKET_PRINT

◆ SERIAL_PACKET

◆ SERIAL_PACKET_HEADER

◆ STAB_ENTRY

Enumeration Type Documentation

◆ _ECOLORS

Enumerator
BLACK 
BLUE 
GREEN 
TURK 
RED 
VIOLET 
BROWN 
LTGRAY 
GRAY 
LTBLUE 
LT_GREEN 
LTTURK 
LTRED 
LTVIOLET 
YELLOW 
WHITE 

Definition at line 128 of file shared.h.

129 {
130  BLACK = 0,
131  BLUE,
132  GREEN,
133  TURK,
134  RED,
135  VIOLET,
136  BROWN,
137  LTGRAY,
138  GRAY,
139  LTBLUE,
140  LT_GREEN,
141  LTTURK,
142  LTRED,
143  LTVIOLET,
144  YELLOW,
145  WHITE
146 }ECOLORS;
Definition: shared.h:132
Definition: shared.h:131
Definition: shared.h:133
Definition: shared.h:137
Definition: shared.h:141
Definition: shared.h:130
Definition: shared.h:136
enum _ECOLORS ECOLORS
Definition: shared.h:142
Definition: shared.h:139
Definition: shared.h:145
Definition: shared.h:135
Definition: shared.h:138
Definition: shared.h:144
Definition: shared.h:134