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.

73 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. dispatch.h
  5. Abstract:
  6. This header contains the dispatch routine declarations
  7. for ws2ifsl.sys driver.
  8. Author:
  9. Vadim Eydelman (VadimE) Dec-1996
  10. Revision History:
  11. --*/
  12. NTSTATUS
  13. DispatchCreate (
  14. IN PDEVICE_OBJECT DeviceObject,
  15. IN PIRP Irp
  16. );
  17. NTSTATUS
  18. DispatchCleanup (
  19. IN PDEVICE_OBJECT DeviceObject,
  20. IN PIRP Irp
  21. );
  22. NTSTATUS
  23. DispatchClose (
  24. IN PDEVICE_OBJECT DeviceObject,
  25. IN PIRP Irp
  26. );
  27. NTSTATUS
  28. DispatchReadWrite (
  29. IN PDEVICE_OBJECT DeviceObject,
  30. IN PIRP Irp
  31. );
  32. NTSTATUS
  33. DispatchDeviceControl (
  34. IN PDEVICE_OBJECT DeviceObject,
  35. IN PIRP Irp
  36. );
  37. BOOLEAN
  38. FastIoDeviceControl (
  39. IN PFILE_OBJECT FileObject,
  40. IN BOOLEAN Wait,
  41. IN PVOID InputBuffer OPTIONAL,
  42. IN ULONG InputBufferLength,
  43. OUT PVOID OutputBuffer OPTIONAL,
  44. IN ULONG OutputBufferLength,
  45. IN ULONG IoControlCode,
  46. OUT PIO_STATUS_BLOCK IoStatus,
  47. IN PDEVICE_OBJECT DeviceObject
  48. );
  49. NTSTATUS
  50. DispatchPnP (
  51. IN PDEVICE_OBJECT DeviceObject,
  52. IN PIRP Irp
  53. );