Undocumented functions of NTDLL

2OO1, 3 February



LPC_TERMINATION_MESSAGE
LPC_TERMINATION_MESSAGE

typedef struct _LPC_TERMINATION_MESSAGE {

LPC_MESSAGE_HEADER Header; LARGE_INTEGER CreationTime;

} LPC_TERMINATION_MESSAGE, *PLPC_TERMINATION_MESSAGE;



LPC_TERMINATION_MESSAGE is send to LPC server process when thread is terminating. Thread must be registered for inform server process by call NtRegisterThreadTerminatePort.

This message type is also send when LPC client close connection to server's port.
  • Header
  •     Header.MessageType is LPC_CLIENT_DIED when thread terminate.
        Header.MessageType is LPC_PORT_CLOSED when LPC client close connection.

    See LPC_MESSAGE for details.
  • CreationTime
  •     Time of thread creation or time of connection begin.


    Documented by:
    Tomasz Nowak



    Requirements:
    Library: ntdll.lib


    See also:
    LPC_MESSAGE
    NtConnectPort
    NtRegisterThreadTerminatePort