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.

101 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. net\routing\ipx\sap\adaptdb.h
  5. Abstract:
  6. Header file for net adapter notification interface
  7. Author:
  8. Vadim Eydelman 05-15-1995
  9. Revision History:
  10. --*/
  11. #ifndef _SAP_ADAPTERDB_
  12. #define _SAP_ADAPTERDB_
  13. // Interval for periodic update broadcasts (for standalone service only)
  14. extern ULONG UpdateInterval;
  15. // Interval for periodic update broadcasts on WAN lines (for standalone service only)
  16. extern ULONG ServerAgingTimeout;
  17. // Server aging timeout (for standalone service only)
  18. extern ULONG WanUpdateMode;
  19. // Interval for periodic update broadcasts on WAN lines (for standalone service only)
  20. extern ULONG WanUpdateInterval;
  21. /*++
  22. *******************************************************************
  23. C r e a t e A d a p t e r P o r t
  24. Routine Description:
  25. Allocate resources and establish connection to net adapter
  26. notification mechanism
  27. Arguments:
  28. cfgEvent - event to be signalled when adapter configuration changes
  29. Return Value:
  30. NO_ERROR - resources were allocated successfully
  31. other - reason of failure (windows error code)
  32. *******************************************************************
  33. --*/
  34. DWORD
  35. CreateAdapterPort (
  36. IN HANDLE *cfgEvent
  37. );
  38. /*++
  39. *******************************************************************
  40. D e l e t e A d a p t e r P o r t
  41. Routine Description:
  42. Dispose of resources and break connection to net adapter
  43. notification mechanism
  44. Arguments:
  45. None
  46. Return Value:
  47. None
  48. *******************************************************************
  49. --*/
  50. VOID
  51. DeleteAdapterPort (
  52. void
  53. );
  54. /*++
  55. *******************************************************************
  56. P r o c e s s A d a p t e r E v e n t s
  57. Routine Description:
  58. Dequeues and process adapter configuration change events and maps them
  59. to interface configuration calls
  60. This routine should be called when configuration event is signalled
  61. Arguments:
  62. None
  63. Return Value:
  64. None
  65. *******************************************************************
  66. --*/
  67. VOID
  68. ProcessAdapterEvents (
  69. VOID
  70. );
  71. #endif