44#define N_ROUND_UP(x,s) \
45 (((ULONG)(x)+(s)-1) & ~((ULONG)(s)-1))
50#define PORT_CONNECT 0x1
51#define PORT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
58#define LPCP_CONNECTION_PORT 0x00000001
59#define LPCP_UNCONNECTED_PORT 0x00000002
60#define LPCP_COMMUNICATION_PORT 0x00000003
61#define LPCP_CLIENT_PORT 0x00000004
62#define LPCP_PORT_TYPE_MASK 0x0000000F
63#define LPCP_PORT_DELETED 0x10000000
64#define LPCP_WAITABLE_PORT 0x20000000
65#define LPCP_NAME_DELETED 0x40000000
66#define LPCP_SECURITY_DYNAMIC 0x80000000
102#define PORT_MAXIMUM_MESSAGE_LENGTH 512
104#define PORT_MAXIMUM_MESSAGE_LENGTH 256
111#define LPC_CLIENT_ID CLIENT_ID64
112#define LPC_SIZE_T ULONGLONG
113#define LPC_PVOID ULONGLONG
114#define LPC_HANDLE ULONGLONG
116#define LPC_CLIENT_ID CLIENT_ID
117#define LPC_SIZE_T SIZE_T
118#define LPC_PVOID PVOID
119#define LPC_HANDLE HANDLE
280#define LPCP_MAX_MESSAGE_SIZE \
281 N_ROUND_UP(PORT_MAXIMUM_MESSAGE_LENGTH + \
282 sizeof(LPCP_MESSAGE) + \
283 sizeof(LPCP_CONNECTION_MESSAGE), 16)
288#define LPC_MAX_MESSAGE_LENGTH \
289 (LPCP_MAX_MESSAGE_SIZE - \
290 FIELD_OFFSET(LPCP_MESSAGE, Request))
295#define LPC_MAX_DATA_LENGTH \
296 (LPC_MAX_MESSAGE_LENGTH - \
297 sizeof(PORT_MESSAGE) - \
298 sizeof(LPCP_CONNECTION_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::@4648 u1
struct _PORT_MESSAGE::@4649::@4655 s2
LPC_SIZE_T ClientViewSize
union _PORT_MESSAGE::@4649 u2
struct _PORT_MESSAGE::@4648::@4654 s1
struct _PORT_MESSAGE_HEADER PORT_MESSAGE
struct _PORT_MESSAGE_HEADER * PPORT_MESSAGE