Undocumented functions of NTDLL

2OO1, 3 February


Gridstore - NonStop Storage

NtRegisterThreadTerminatePort
NtRegisterThreadTerminatePort

NTSYSAPI 
NTSTATUS
NTAPI

NtRegisterThreadTerminatePort(

IN HANDLE PortHandle );




  • PortHandle
  •     HANDLE to previously connected Port Object.




    Typically, NtRegisterThreadTerminatePort is used in CsrNewThread function, called before thread execution begins, but in thread context.
    Function associate PortHandle with thread, and sends LPC_TERMINATION_MESSAGE to specified port immediatelly after call NtTerminateThread.


    Documented by:
    Tomasz Nowak



    Requirements:
    Library: ntdll.lib


    See also:
    CsrNewThread
    LPC_TERMINATION_MESSAGE
    NtConnectPort
    NtTerminateThread