Hey community
My usermode application should obtain data of the NICs in the format of GetAdaptersInfo without using this API. With XP, i just send a IOCTL_TCP_QUERY_INFORMATION_EX-request down to the Tcp device. Unfortunately, with Vista RC1, the things changed. Now GetAdaptersInfo sends down various requests down to the Nsi-device (??\Nsi). Here’s my log!
Open: 00000204 ??\Nsi // returned Handle, Object name
Control (1): 00000204 1179675 60 60 // Handle to send the request to, IOCTL-code, Inputbuffer size, Outputbuffer size
Control (2): 00000204 1179675 60 60
Control (3): 00000204 1179663 56 56
Control (4): 00000204 1179663 56 56
Control (5): 00000204 1179663 56 56
Control (6): 00000204 1179663 56 56
Control (7): 00000204 1179663 56 56
Control (8): 00000204 1179663 56 56
Control (9): 00000204 1179663 56 56
Control (10): 00000204 1179663 56 56
Control (11): 00000204 1179663 56 56
Control (12): 00000204 1179663 56 56
Open: 0000020C \DEVICE\NETBT_TCPIP_{…} //… = A Guid
Control (13): 0000020C 2162842 0 60
Control (13): 00000204 1179663 56 56
Control (14): 00000204 1179663 56 56
Control (15): 00000204 1179663 56 56
Control (16): 00000204 1179663 56 56
Control (17): 00000204 1179663 56 56
Control (18): 00000204 1179663 56 56
Control (19): 00000204 1179663 56 56
Control (20): 00000204 1179663 56 56
Control (21): 00000204 1179663 56 56
Control (22): 00000204 1179675 60 60
Control (23): 00000204 1179675 60 60
Control (24): 00000204 1179675 60 60
Control (25): 00000204 1179675 60 60
Those two IOCTL-Codes (1179663 und 1179675) are related to IOCTL_TCP_QUERY_INFORMATION_EX, but unfortunately I can’t find any information about them
// IOCTL_TCP_QUERY_INFORMATION_EX: FILE_DEVICE_NETWORK 0 FILE_ANY_ACCESS METHOD_NEITHER
// 12001B: FILE_DEVICE_NETWORK 6 FILE_ANY_ACCESS METHOD_NEITHER
// 12000F: FILE_DEVICE_NETWORK 3 FILE_ANY_ACCESS METHOD_NEITHER
Help me
Daniel