typedef struct _LPCP_PORT_OBJECT
{
    LPCP_PORT_OBJECT *ConnectionPort;
    LPCP_PORT_OBJECT *ConnectedPort;
    LPCP_PORT_QUEUE MsgQueue;
    CLIENT_ID Creator;
    void *ClientSectionBase;
    void *ServerSectionBase;
    void *PortContext;
    ETHREAD *ClientThread;
    SECURITY_QUALITY_OF_SERVICE SecurityQos;
    SECURITY_CLIENT_CONTEXT StaticSecurity;
    LIST_ENTRY LpcReplyChainHead;
    LIST_ENTRY LpcDataInfoChainHead;
    union
    {
        EPROCESS *ServerProcess;
        EPROCESS *MappingProcess;
    };
    unsigned short MaxMessageLength;
    unsigned short MaxConnectionInfoLength;
    unsigned long Flags;
    KEVENT WaitEvent;
} LPCP_PORT_OBJECT, *PLPCP_PORT_OBJECT;