Source code of Windows XP (NT5)
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.

103 lines
2.0 KiB

  1. //=============================================================================
  2. // Copyright (c) 1997 Microsoft Corporation
  3. // File Name: Api.h
  4. //
  5. // Abstract:
  6. // This module contains declarations for api.c
  7. //
  8. // Author: K.S.Lokesh (lokeshs@) 11-1-97
  9. //=============================================================================
  10. #ifndef _API_H_
  11. #define _API_H_
  12. //
  13. // PROTOTYPES OF FUNCTIONS USED ONLY IN THIS FILE
  14. //
  15. BOOL DllStartup();
  16. BOOL DllCleanup();
  17. VOID ProtocolCleanup();
  18. BOOL ValidateGlobalConfig(
  19. PIGMP_MIB_GLOBAL_CONFIG pGlobalConfig);
  20. //
  21. // API's
  22. //
  23. DWORD WINAPI
  24. RegisterProtocol(
  25. IN OUT PMPR_ROUTING_CHARACTERISTICS pRoutingChar,
  26. IN OUT PMPR_SERVICE_CHARACTERISTICS pServiceChar
  27. );
  28. DWORD WINAPI
  29. StartProtocol(
  30. IN HANDLE hMgrNotifyEvent,
  31. IN PSUPPORT_FUNCTIONS pSupportFunctions,
  32. IN PVOID pGlobalConfig,
  33. IN ULONG ulStructureVersion,
  34. IN ULONG ulStructureSize,
  35. IN ULONG ulStructureCount
  36. );
  37. DWORD WINAPI
  38. StartComplete(
  39. VOID
  40. );
  41. DWORD WINAPI
  42. StopProtocol(
  43. VOID
  44. );
  45. DWORD WINAPI
  46. GetGlobalInfo(
  47. IN OUT PVOID pConfig,
  48. IN OUT PDWORD pdwSize,
  49. IN OUT PULONG pulStructureVersion,
  50. IN OUT PULONG pulStructureSize,
  51. IN OUT PULONG pulStructureCount
  52. );
  53. DWORD WINAPI
  54. SetGlobalInfo(
  55. IN PVOID pConfig,
  56. IN ULONG ulStructureVersion,
  57. IN ULONG ulStructureSize,
  58. IN ULONG ulStructureCount
  59. );
  60. DWORD WINAPI
  61. GetEventMessage(
  62. OUT ROUTING_PROTOCOL_EVENTS *pEvent,
  63. OUT MESSAGE *pResult
  64. );
  65. DWORD WINAPI
  66. GetNeighbors(
  67. IN DWORD InterfaceIndex,
  68. IN PDWORD NeighborList,
  69. IN OUT PDWORD NeighborListSize,
  70. OUT PBYTE InterfaceFlags
  71. );
  72. DWORD WINAPI
  73. GetMfeStatus(
  74. IN DWORD InterfaceIndex,
  75. IN DWORD GroupAddress,
  76. IN DWORD SourceAddress,
  77. OUT PBYTE StatusCode
  78. );
  79. DWORD WINAPI
  80. InterfaceStatus(
  81. ULONG IfIndex,
  82. BOOL bIfActive,
  83. DWORD dwStatusType,
  84. PVOID pvStatusInfo
  85. );
  86. #endif //_API_H_