ReactOS 0.4.16-dev-92-g0c2cdca
lpctypes.h File Reference
#include <umtypes.h>
Include dependency graph for lpctypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _LPCP_NONPAGED_PORT_QUEUE
 
struct  _LPCP_PORT_QUEUE
 
struct  _LPCP_PORT_OBJECT
 
struct  _LPCP_MESSAGE
 
struct  _LPCP_CONNECTION_MESSAGE
 
struct  _CLIENT_DIED_MSG
 

Macros

#define N_ROUND_UP(x, s)    (((ULONG)(x)+(s)-1) & ~((ULONG)(s)-1))
 
#define PORT_CONNECT   0x1
 
#define PORT_ALL_ACCESS
 
#define LPCP_CONNECTION_PORT   0x00000001
 
#define LPCP_UNCONNECTED_PORT   0x00000002
 
#define LPCP_COMMUNICATION_PORT   0x00000003
 
#define LPCP_CLIENT_PORT   0x00000004
 
#define LPCP_PORT_TYPE_MASK   0x0000000F
 
#define LPCP_PORT_DELETED   0x10000000
 
#define LPCP_WAITABLE_PORT   0x20000000
 
#define LPCP_NAME_DELETED   0x40000000
 
#define LPCP_SECURITY_DYNAMIC   0x80000000
 
#define LPCP_MAX_MESSAGE_SIZE
 
#define LPC_MAX_MESSAGE_LENGTH
 
#define LPC_MAX_DATA_LENGTH
 

Typedefs

typedef enum _LPC_TYPE LPC_TYPE
 
typedef enum _PORT_INFORMATION_CLASS PORT_INFORMATION_CLASS
 
typedef struct _LPCP_NONPAGED_PORT_QUEUE LPCP_NONPAGED_PORT_QUEUE
 
typedef struct _LPCP_NONPAGED_PORT_QUEUEPLPCP_NONPAGED_PORT_QUEUE
 
typedef struct _LPCP_PORT_QUEUE LPCP_PORT_QUEUE
 
typedef struct _LPCP_PORT_QUEUEPLPCP_PORT_QUEUE
 
typedef struct _LPCP_PORT_OBJECT LPCP_PORT_OBJECT
 
typedef struct _LPCP_PORT_OBJECTPLPCP_PORT_OBJECT
 
typedef struct _LPCP_MESSAGE LPCP_MESSAGE
 
typedef struct _LPCP_MESSAGEPLPCP_MESSAGE
 
typedef struct _LPCP_CONNECTION_MESSAGE LPCP_CONNECTION_MESSAGE
 
typedef struct _LPCP_CONNECTION_MESSAGEPLPCP_CONNECTION_MESSAGE
 
typedef struct _CLIENT_DIED_MSG CLIENT_DIED_MSG
 
typedef struct _CLIENT_DIED_MSGPCLIENT_DIED_MSG
 

Enumerations

enum  _LPC_TYPE {
  LPC_NEW_MESSAGE , LPC_REQUEST , LPC_REPLY , LPC_DATAGRAM ,
  LPC_LOST_REPLY , LPC_PORT_CLOSED , LPC_CLIENT_DIED , LPC_EXCEPTION ,
  LPC_DEBUG_EVENT , LPC_ERROR_EVENT , LPC_CONNECTION_REQUEST , LPC_CONNECTION_REFUSED ,
  LPC_MAXIMUM
}
 
enum  _PORT_INFORMATION_CLASS { PortNoInformation , PortNoInformation }
 

Variables

POBJECT_TYPE NTSYSAPI LpcPortObjectType
 

Macro Definition Documentation

◆ LPC_MAX_DATA_LENGTH

#define LPC_MAX_DATA_LENGTH
Value:

Definition at line 291 of file lpctypes.h.

◆ LPC_MAX_MESSAGE_LENGTH

#define LPC_MAX_MESSAGE_LENGTH
Value:
FIELD_OFFSET(LPCP_MESSAGE, Request))
#define LPCP_MAX_MESSAGE_SIZE
Definition: lpctypes.h:276
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547

Definition at line 284 of file lpctypes.h.

◆ LPCP_CLIENT_PORT

#define LPCP_CLIENT_PORT   0x00000004

Definition at line 57 of file lpctypes.h.

◆ LPCP_COMMUNICATION_PORT

#define LPCP_COMMUNICATION_PORT   0x00000003

Definition at line 56 of file lpctypes.h.

◆ LPCP_CONNECTION_PORT

#define LPCP_CONNECTION_PORT   0x00000001

Definition at line 54 of file lpctypes.h.

◆ LPCP_MAX_MESSAGE_SIZE

#define LPCP_MAX_MESSAGE_SIZE
Value:
sizeof(LPCP_MESSAGE) + \
#define N_ROUND_UP(x, s)
Definition: lpctypes.h:40
#define PORT_MAXIMUM_MESSAGE_LENGTH
Definition: iotypes.h:2029

Definition at line 276 of file lpctypes.h.

◆ LPCP_NAME_DELETED

#define LPCP_NAME_DELETED   0x40000000

Definition at line 61 of file lpctypes.h.

◆ LPCP_PORT_DELETED

#define LPCP_PORT_DELETED   0x10000000

Definition at line 59 of file lpctypes.h.

◆ LPCP_PORT_TYPE_MASK

#define LPCP_PORT_TYPE_MASK   0x0000000F

Definition at line 58 of file lpctypes.h.

◆ LPCP_SECURITY_DYNAMIC

#define LPCP_SECURITY_DYNAMIC   0x80000000

Definition at line 62 of file lpctypes.h.

◆ LPCP_UNCONNECTED_PORT

#define LPCP_UNCONNECTED_PORT   0x00000002

Definition at line 55 of file lpctypes.h.

◆ LPCP_WAITABLE_PORT

#define LPCP_WAITABLE_PORT   0x20000000

Definition at line 60 of file lpctypes.h.

◆ N_ROUND_UP

#define N_ROUND_UP (   x,
  s 
)     (((ULONG)(x)+(s)-1) & ~((ULONG)(s)-1))

Definition at line 40 of file lpctypes.h.

◆ PORT_ALL_ACCESS

#define PORT_ALL_ACCESS
Value:
#define PORT_CONNECT
Definition: lpctypes.h:46
#define SYNCHRONIZE
Definition: nt_native.h:61
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 47 of file lpctypes.h.

◆ PORT_CONNECT

#define PORT_CONNECT   0x1

Definition at line 46 of file lpctypes.h.

Typedef Documentation

◆ CLIENT_DIED_MSG

◆ LPC_TYPE

◆ LPCP_CONNECTION_MESSAGE

◆ LPCP_MESSAGE

◆ LPCP_NONPAGED_PORT_QUEUE

◆ LPCP_PORT_OBJECT

◆ LPCP_PORT_QUEUE

◆ PCLIENT_DIED_MSG

◆ PLPCP_CONNECTION_MESSAGE

◆ PLPCP_MESSAGE

◆ PLPCP_NONPAGED_PORT_QUEUE

◆ PLPCP_PORT_OBJECT

◆ PLPCP_PORT_QUEUE

◆ PORT_INFORMATION_CLASS

Enumeration Type Documentation

◆ _LPC_TYPE

Enumerator
LPC_NEW_MESSAGE 
LPC_REQUEST 
LPC_REPLY 
LPC_DATAGRAM 
LPC_LOST_REPLY 
LPC_PORT_CLOSED 
LPC_CLIENT_DIED 
LPC_EXCEPTION 
LPC_DEBUG_EVENT 
LPC_ERROR_EVENT 
LPC_CONNECTION_REQUEST 
LPC_CONNECTION_REFUSED 
LPC_MAXIMUM 

Definition at line 67 of file lpctypes.h.

68{
82} LPC_TYPE;
@ LPC_LOST_REPLY
Definition: lpctypes.h:73
@ LPC_EXCEPTION
Definition: lpctypes.h:76
@ LPC_ERROR_EVENT
Definition: lpctypes.h:78
@ LPC_DEBUG_EVENT
Definition: lpctypes.h:77
@ LPC_CLIENT_DIED
Definition: lpctypes.h:75
@ LPC_REQUEST
Definition: lpctypes.h:70
@ LPC_CONNECTION_REFUSED
Definition: lpctypes.h:80
@ LPC_DATAGRAM
Definition: lpctypes.h:72
@ LPC_REPLY
Definition: lpctypes.h:71
@ LPC_PORT_CLOSED
Definition: lpctypes.h:74
@ LPC_CONNECTION_REQUEST
Definition: lpctypes.h:79
@ LPC_NEW_MESSAGE
Definition: lpctypes.h:69
@ LPC_MAXIMUM
Definition: lpctypes.h:81
enum _LPC_TYPE LPC_TYPE

◆ _PORT_INFORMATION_CLASS

Enumerator
PortNoInformation 
PortNoInformation 

Definition at line 87 of file lpctypes.h.

88{
@ PortNoInformation
Definition: lpctypes.h:89
enum _PORT_INFORMATION_CLASS PORT_INFORMATION_CLASS

Variable Documentation

◆ LpcPortObjectType

POBJECT_TYPE NTSYSAPI LpcPortObjectType
extern

Definition at line 17 of file port.c.

Referenced by LpcInitSystem(), and NtImpersonateClientOfPort().