ReactOS  0.4.12-dev-36-g472787f
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_ NDIS_HANDLE _In_ PNDIS_REQUEST Request
Definition: ndis.h:5155

Definition at line 284 of file lpctypes.h.

◆ LPCP_CLIENT_PORT

◆ LPCP_COMMUNICATION_PORT

◆ LPCP_CONNECTION_PORT

◆ 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:1985

Definition at line 276 of file lpctypes.h.

Referenced by LpcInitSystem().

◆ LPCP_NAME_DELETED

#define LPCP_NAME_DELETED   0x40000000

Definition at line 61 of file lpctypes.h.

Referenced by LpcpDestroyPortQueue(), and NtSecureConnectPort().

◆ LPCP_PORT_DELETED

#define LPCP_PORT_DELETED   0x10000000

Definition at line 59 of file lpctypes.h.

◆ LPCP_PORT_TYPE_MASK

◆ LPCP_SECURITY_DYNAMIC

#define LPCP_SECURITY_DYNAMIC   0x80000000

◆ LPCP_UNCONNECTED_PORT

#define LPCP_UNCONNECTED_PORT   0x00000002

◆ LPCP_WAITABLE_PORT

◆ 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

◆ PORT_CONNECT

#define PORT_CONNECT   0x1

Definition at line 46 of file lpctypes.h.

Referenced by NtSecureConnectPort().

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.

◆ _PORT_INFORMATION_CLASS

Enumerator
PortNoInformation 
PortNoInformation 

Definition at line 87 of file lpctypes.h.

88 {
enum _PORT_INFORMATION_CLASS PORT_INFORMATION_CLASS

Variable Documentation

◆ LpcPortObjectType

POBJECT_TYPE NTSYSAPI LpcPortObjectType

Definition at line 17 of file port.c.