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.

93 lines
1.9 KiB

  1. DWORD
  2. GetMibTagToken(
  3. IN LPWSTR *ppwcArguments,
  4. IN DWORD dwArgCount,
  5. IN DWORD dwNumIndices,
  6. OUT PDWORD pdwRR,
  7. OUT PBOOL pbIndex,
  8. OUT PDWORD pdwIndex
  9. );
  10. DWORD
  11. GetIpAddress(
  12. IN LPCWSTR pptcArg,
  13. OUT PIPV4_ADDRESS ipAddress
  14. );
  15. DWORD
  16. GetIpMask(
  17. IN LPCWSTR pptcArg,
  18. OUT PIPV4_ADDRESS ipMask
  19. );
  20. DWORD
  21. GetIpPrefix(
  22. IN LPCWSTR pptcArg,
  23. OUT PIPV4_ADDRESS ipAddress,
  24. OUT PIPV4_ADDRESS ipMask
  25. );
  26. #define DispTokenErrMsg(hModule, dwMsgId, pwszTag, pwszValue) \
  27. DisplayMessage( hModule, dwMsgId, pwszValue, pwszTag)
  28. BYTE
  29. MaskToMaskLen(
  30. IPV4_ADDRESS dwMask
  31. );
  32. VOID
  33. MakeAddressStringW(
  34. OUT LPWSTR pwcPrefixStr,
  35. IN IPV4_ADDRESS ipAddr
  36. );
  37. VOID
  38. MakePrefixStringW(
  39. OUT LPWSTR pwcPrefixStr,
  40. IN IPV4_ADDRESS ipAddr,
  41. IN IPV4_ADDRESS ipMask
  42. );
  43. DWORD
  44. GetGuidFromIfIndex(
  45. IN MIB_SERVER_HANDLE hMibServer,
  46. IN DWORD dwIfIndex,
  47. OUT LPWSTR pwszBuffer,
  48. IN DWORD dwBufferSize
  49. );
  50. DWORD
  51. IpmontrGetFriendlyNameFromIfIndex(
  52. IN MIB_SERVER_HANDLE hMibServer,
  53. IN DWORD dwIfIndex,
  54. OUT LPWSTR pwszBuffer,
  55. IN DWORD dwBufferSize
  56. );
  57. DWORD
  58. GetIfIndexFromGuid(
  59. IN MIB_SERVER_HANDLE hMibServer,
  60. IN LPCWSTR pwszGuid,
  61. OUT PDWORD pdwIfIndex
  62. );
  63. DWORD
  64. IpmontrGetIfIndexFromFriendlyName(
  65. IN MIB_SERVER_HANDLE hMibServer,
  66. IN LPCWSTR pwszFriendlyName,
  67. OUT PDWORD pdwIfIndex
  68. );
  69. DWORD
  70. IpmontrGetFriendlyNameFromIfName(
  71. IN LPCWSTR pwszName,
  72. OUT LPWSTR pwszBuffer,
  73. IN PDWORD pdwBufSize
  74. );
  75. DWORD
  76. IpmontrGetIfNameFromFriendlyName(
  77. IN LPCWSTR pwszName,
  78. OUT LPWSTR pwszBuffer,
  79. IN PDWORD pdwBufSize
  80. );