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.

70 lines
1.4 KiB

  1. /*++
  2. Copyright(c) 1998,99 Microsoft Corporation
  3. Module Name:
  4. init.h
  5. Abstract:
  6. Windows Load Balancing Service (WLBS)
  7. Driver - initialization
  8. Author:
  9. kyrilf
  10. --*/
  11. #ifndef _Init_h_
  12. #define _Init_h_
  13. #include <ndis.h>
  14. /* PROCEDURES */
  15. extern NDIS_STATUS DriverEntry (
  16. PVOID driver_obj, /* driver object */
  17. PVOID registry_path); /* system registry path to our
  18. driver */
  19. /*
  20. Driver's main entry routine
  21. returns NDIS_STATUS:
  22. function:
  23. */
  24. extern VOID Init_unload (
  25. PVOID driver_obj);
  26. /*
  27. Driver's unload routine
  28. returns NDIS_STATUS:
  29. function:
  30. */
  31. /*
  32. * Function:
  33. * Purpose: This function is called by MiniportInitialize and registers the IOCTL interface for WLBS.
  34. * The device is registered only for the first miniport instantiation.
  35. * Author: shouse, 3.1.01
  36. * Revision: karthicn, 3.6.02, Added argument to tell if it is the first miniport that NLB binds to.
  37. */
  38. NDIS_STATUS Init_register_device (BOOL *pbFirstMiniport);
  39. /*
  40. * Function:
  41. * Purpose: This function is called by MiniportHalt and deregisters the IOCTL interface for WLBS.
  42. * The device is deregistered only wnen the last miniport halts.
  43. * Author: shouse, 3.1.01
  44. */
  45. NDIS_STATUS Init_deregister_device (VOID);
  46. #endif /* end _Init_h_ */