NTSTATUS
IopTCPQueryInformationEx(
  IN  HANDLE                 TCPHandle,
  IN  TDIObjectID FAR       *ID,
  OUT void FAR             *Buffer,
  IN OUT DWORD FAR         *BufferSize,
  IN OUT BYTE FAR          *Context
  );

Routine Description:

    This routine provides the interface to the TDI QueryInformationEx
    facility of the TCP/IP stack on NT. Someday, this facility will be
    part of TDI.

Arguments:

    TCPHandle     - Open handle to the TCP driver
    ID            - The TDI Object ID to query
    Buffer        - Data buffer to contain the query results
    BufferSize    - Pointer to the size of the results buffer. Filled in
                    with the amount of results data on return.
    Context       - Context value for the query. Should be zeroed for a
                    new query. It will be filled with context
                    information for linked enumeration queries.

Return Value:

    An NTSTATUS value.