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.

154 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. routing\monitor2\ip\mprip.h
  5. Abstract:
  6. Prototypes for functions exported by mprip.c
  7. Revision History:
  8. Anand Mahalingam 7/29/98 Created
  9. --*/
  10. VOID
  11. FreeInfoBuffer(
  12. IN PVOID pvBuffer
  13. );
  14. DWORD
  15. WINAPI
  16. IpmontrDeleteInfoBlockFromGlobalInfo(
  17. IN DWORD dwRoutingProtId
  18. );
  19. DWORD
  20. WINAPI
  21. IpmontrDeleteInfoBlockFromInterfaceInfo(
  22. IN LPCWSTR pwszIfName,
  23. IN DWORD dwRoutingProtId
  24. );
  25. DWORD
  26. WINAPI
  27. IpmontrDeleteProtocol(
  28. IN DWORD dwRoutingProtId
  29. );
  30. DWORD
  31. WINAPI
  32. IpmontrGetInfoBlockFromGlobalInfo(
  33. IN DWORD dwType,
  34. OUT PBYTE *ppbInfoBlk, OPTIONAL
  35. OUT PDWORD pdwSize,
  36. OUT PDWORD pdwCount
  37. );
  38. DWORD
  39. WINAPI
  40. IpmontrGetInfoBlockFromInterfaceInfo(
  41. IN LPCWSTR pwszIfName,
  42. IN DWORD dwType,
  43. OUT PBYTE *ppbInfoBlk,
  44. OUT PDWORD pdwSize,
  45. OUT PDWORD pdwCount,
  46. OUT PDWORD pdwIfType
  47. );
  48. DWORD
  49. WINAPI
  50. IpmontrSetInfoBlockInGlobalInfo(
  51. IN DWORD dwType,
  52. IN PBYTE pbInfoBlk,
  53. IN DWORD dwSize,
  54. IN DWORD dwCount
  55. );
  56. DWORD
  57. WINAPI
  58. IpmontrSetInfoBlockInInterfaceInfo(
  59. IN LPCWSTR pwszIfName,
  60. IN DWORD dwType,
  61. IN PBYTE pbInfoBlk,
  62. IN DWORD dwSize,
  63. IN DWORD dwCount
  64. );
  65. DWORD WINAPI
  66. IpmontrGetInterfaceType(
  67. IN LPCWSTR pwszIfName,
  68. OUT PDWORD pdwIfType
  69. );
  70. DWORD
  71. WINAPI
  72. GetInterfaceName(
  73. IN LPCWSTR ptcArgument,
  74. OUT LPWSTR pwszIfName,
  75. IN DWORD dwSizeOfIfName,
  76. OUT PDWORD pdwNumParsed
  77. );
  78. DWORD
  79. WINAPI
  80. GetInterfaceDescription(
  81. IN LPCWSTR pwszIfName,
  82. OUT LPWSTR pwszIfDesc,
  83. OUT PDWORD pdwNumParsed
  84. );
  85. DWORD
  86. WINAPI
  87. InterfaceEnum(
  88. OUT PBYTE *ppb,
  89. OUT PDWORD pdwCount,
  90. OUT PDWORD pdwTotal
  91. );
  92. DWORD
  93. WINAPI
  94. MatchRoutingProtoTag(
  95. IN LPCWSTR pwszToken
  96. );
  97. BOOL
  98. WINAPI
  99. IsRouterRunning(
  100. VOID
  101. );
  102. DWORD
  103. MibGet(
  104. DWORD dwTransportId,
  105. DWORD dwRoutingPid,
  106. LPVOID lpInEntry,
  107. DWORD dwInEntrySize,
  108. LPVOID *lplpOutEntry,
  109. LPDWORD lpdwOutEntrySize
  110. );
  111. DWORD
  112. MibGetFirst(
  113. DWORD dwTransportId,
  114. DWORD dwRoutingPid,
  115. LPVOID lpInEntry,
  116. DWORD dwInEntrySize,
  117. LPVOID *lplpOutEntry,
  118. LPDWORD lpdwOutEntrySize
  119. );
  120. DWORD
  121. MibGetNext(
  122. DWORD dwTransportId,
  123. DWORD dwRoutingPid,
  124. LPVOID lpInEntry,
  125. DWORD dwInEntrySize,
  126. LPVOID *lplpOutEntry,
  127. LPDWORD lpdwOutEntrySize
  128. );