[BROWSEUI] SHExplorerParseCmdLine: Fix parsing of /root (#6752)
[reactos.git] / dll / win32 / iphlpapi / merge-notes.txt
1 GetAdaptersInfo --
2 Wine uses: Software\\Wine\\Wine\\Config\\Network
3 -- Wins support is todo so this part isn't so important.
4 -- Overall, workable
5 Wine uses ansi functions
6
7 -- Done --
8 GetNetworkParams --
9 -- Make workable interface for _res
10 -- Wine based on real _res
11 -- ReactOS based on my enumerator funcs
12
13 -- Done -- Prints route info on windows
14 ROUTE PRINT:
15
16 iphlpapi_main.c:137 - ppIfTable 0104bd80, bOrder 1, heap 0xa0000000, flags 0x00000001
17 - AllocateAndGetIfTableFromStack
18 iphlpapi_main.c:898 - pIfTable 0104bd00, pdwSize 0104bd00, bOrder 1
19 - GetIfTable
20 (tcpip/main.c:168)(TiCreateFileObject) No EA information in IRP.
21 - We need a special case of no EA information to handle these ioctls in
22 tcpip.sys
23 iphlpapi_main.c:939 - returning 122
24 iphlpapi_main.c:898 - pIfTable 0104bd00, pdwSize 0104bd00, bOrder 1
25 - GetIfTable again
26 (tcpip/main.c:168)(TiCreateFileObject) No EA information in IRP.
27 (tcpip/main.c:168)(TiCreateFileObject) No EA information in IRP.
28 getInterfaceIndexTable: numInterfaces: 0
29 iphlpapi_main.c:939 - returning 0
30 iphlpapi_main.c:149 - returning 0
31 iphlpapi_main.c:213 - ppIpForwardTable 0104bd78, bOrder 1, heap 0xa0000000, flags 0x00000001
32 - AllocateAndGetIpForwardTableFromStack
33 iphlpapi_main.c:1151 - pIpForwardTable 00000000, pdwSize 0104bd00, bOrder 1
34 - GetIpForwardTable
35 iphlpapi_main.c:1214 - returning 122
36 iphlpapi_main.c:1151 - pIpForwardTable a0001d68, pdwSize 0104bd00, bOrder 1
37 - GetIpForwardTable again
38 iphlpapi_main.c:1214 - returning 122
39 iphlpapi_main.c:225 - returning 122
40
41 Overall architecture of the ifenum and ipstats functions.
42
43 Right now, I rely heavily on a couple of enumeration functions.
44 What I need to do is consolidate them and reduce traffic on the ioctl.
45
46 There are two things I need to do:
47
48 1. Lookup an interface by index (or name)
49 2. Get the IP info
50
51 I have too many functions that loop over various things.
52
53 What I need are the get** functions from ipstats (which I think are ok)
54 And then to change the detritus in ifenum to be all based on
55 getInterfaceIndexTable and getInterfaceMibByIndex, getInterfaceMibByName
56
57 Implementing name functions:
58
59 Ok here's what i can synthesize from unclegarlic and vizzini:
60
61 the IP_ADAPTER_INFO struct should contain the guid part of the registry key
62 name that holds the adapter
63
64 the snmp-style info functions should return a nice name, which is also from
65 the registry.
66
67 In no case is the adapter OID for name used. According to vizzini, this
68 OID is never used and probably almost never implemented.
69
70 This is different from the wine case because there are two different names
71 returned from the underlying layer.