Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
1.3 KiB

  1. #ifndef __IPCONFIG_H__
  2. #define __IPCONFIG_H__
  3. //
  4. // Define API decoration for direct importing of DLL references.
  5. //
  6. PFIXED_INFO
  7. WINAPI
  8. GetFixedInfo(VOID);
  9. DWORD
  10. WINAPI
  11. GetFixedInfoEx(PFIXED_INFO, PULONG);
  12. PIP_ADAPTER_INFO
  13. WINAPI
  14. GetAdapterInfo(VOID);
  15. DWORD
  16. WINAPI
  17. GetAdapterInfoEx(PIP_ADAPTER_INFO, PULONG);
  18. PIP_PER_ADAPTER_INFO
  19. WINAPI
  20. GetPerAdapterInfo(ULONG);
  21. DWORD
  22. WINAPI
  23. GetPerAdapterInfoEx(ULONG, PIP_PER_ADAPTER_INFO, PULONG);
  24. BOOL
  25. WINAPI
  26. ReleaseAdapterIpAddress(PIP_ADAPTER_INFO);
  27. BOOL
  28. WINAPI
  29. RenewAdapterIpAddress(PIP_ADAPTER_INFO);
  30. LPSTR
  31. WINAPI
  32. MapNodeType(UINT);
  33. LPSTR
  34. WINAPI
  35. MapNodeTypeEx(UINT);
  36. LPSTR
  37. WINAPI
  38. MapAdapterType(UINT);
  39. LPSTR
  40. WINAPI
  41. MapAdapterTypeEx(UINT);
  42. LPSTR
  43. WINAPI
  44. MapTime(PIP_ADAPTER_INFO, DWORD_PTR);
  45. LPSTR
  46. WINAPI
  47. MapTimeEx(PIP_ADAPTER_INFO, DWORD_PTR);
  48. LPSTR
  49. WINAPI
  50. MapAdapterAddress(PIP_ADAPTER_INFO, LPSTR);
  51. LPSTR
  52. WINAPI
  53. MapScopeId(PVOID);
  54. //
  55. // defined in IPHLPAPI.H -- but can't include that because of clash of
  56. // definitions
  57. // of IP_ADDR_STRING etc (in iptypes.h which is included by iphlpapi.h ).
  58. //
  59. DWORD
  60. WINAPI
  61. GetInterfaceInfo(
  62. IN PIP_INTERFACE_INFO pIfTable,
  63. OUT PULONG dwOutBufLen
  64. );
  65. #endif // __IPCONFIG_H__