40#define N_ROUND_UP(x,s) \
41 (((ULONG)(x)+(s)-1) & ~((ULONG)(s)-1))
46#define PORT_CONNECT 0x1
47#define PORT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
54#define LPCP_CONNECTION_PORT 0x00000001
55#define LPCP_UNCONNECTED_PORT 0x00000002
56#define LPCP_COMMUNICATION_PORT 0x00000003
57#define LPCP_CLIENT_PORT 0x00000004
58#define LPCP_PORT_TYPE_MASK 0x0000000F
59#define LPCP_PORT_DELETED 0x10000000
60#define LPCP_WAITABLE_PORT 0x20000000
61#define LPCP_NAME_DELETED 0x40000000
62#define LPCP_SECURITY_DYNAMIC 0x80000000
98#define PORT_MAXIMUM_MESSAGE_LENGTH 512
100#define PORT_MAXIMUM_MESSAGE_LENGTH 256
107#define LPC_CLIENT_ID CLIENT_ID64
108#define LPC_SIZE_T ULONGLONG
109#define LPC_PVOID ULONGLONG
110#define LPC_HANDLE ULONGLONG
112#define LPC_CLIENT_ID CLIENT_ID
113#define LPC_SIZE_T SIZE_T
114#define LPC_PVOID PVOID
115#define LPC_HANDLE HANDLE
276#define LPCP_MAX_MESSAGE_SIZE \
277 N_ROUND_UP(PORT_MAXIMUM_MESSAGE_LENGTH + \
278 sizeof(LPCP_MESSAGE) + \
279 sizeof(LPCP_CONNECTION_MESSAGE), 16)
284#define LPC_MAX_MESSAGE_LENGTH \
285 (LPCP_MAX_MESSAGE_SIZE - \
286 FIELD_OFFSET(LPCP_MESSAGE, Request))
291#define LPC_MAX_DATA_LENGTH \
292 (LPC_MAX_MESSAGE_LENGTH - \
293 sizeof(PORT_MESSAGE) - \
294 sizeof(LPCP_CONNECTION_MESSAGE))
struct _PORT_MESSAGE_HEADER PORT_MESSAGE
struct _PORT_MESSAGE_HEADER * PPORT_MESSAGE
struct _LPCP_NONPAGED_PORT_QUEUE * PLPCP_NONPAGED_PORT_QUEUE
struct _LPCP_MESSAGE * PLPCP_MESSAGE
struct _LPCP_PORT_OBJECT * PLPCP_PORT_OBJECT
POBJECT_TYPE NTSYSAPI LpcPortObjectType
struct _CLIENT_DIED_MSG * PCLIENT_DIED_MSG
struct _LPCP_MESSAGE LPCP_MESSAGE
struct _LPCP_NONPAGED_PORT_QUEUE LPCP_NONPAGED_PORT_QUEUE
struct _CLIENT_DIED_MSG CLIENT_DIED_MSG
struct _LPCP_CONNECTION_MESSAGE * PLPCP_CONNECTION_MESSAGE
struct _LPCP_PORT_OBJECT LPCP_PORT_OBJECT
struct _LPCP_CONNECTION_MESSAGE LPCP_CONNECTION_MESSAGE
struct _LPCP_PORT_QUEUE * PLPCP_PORT_QUEUE
struct _LPCP_PORT_QUEUE LPCP_PORT_QUEUE
enum _PORT_INFORMATION_CLASS PORT_INFORMATION_CLASS
struct _REMOTE_PORT_VIEW * PREMOTE_PORT_VIEW
struct _PORT_VIEW PORT_VIEW
struct _PORT_VIEW * PPORT_VIEW
struct _REMOTE_PORT_VIEW REMOTE_PORT_VIEW
PLPCP_PORT_OBJECT ClientPort
REMOTE_PORT_VIEW ServerView
PLPCP_PORT_OBJECT SenderPort
SINGLE_LIST_ENTRY FreeEntry
struct _LPCP_PORT_OBJECT * BackPointer
LIST_ENTRY LpcReplyChainHead
SECURITY_QUALITY_OF_SERVICE SecurityQos
LIST_ENTRY LpcDataInfoChainHead
struct _LPCP_PORT_OBJECT * ConnectedPort
struct _LPCP_PORT_OBJECT * ConnectionPort
SECURITY_CLIENT_CONTEXT StaticSecurity
ULONG MaxConnectionInfoLength
PLPCP_NONPAGED_PORT_QUEUE NonPagedPortQueue
union _PORT_MESSAGE::@4153 u2
struct _PORT_MESSAGE::@4152::@4158 s1
LPC_SIZE_T ClientViewSize
struct _PORT_MESSAGE::@4153::@4159 s2
union _PORT_MESSAGE::@4152 u1