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.

114 lines
2.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: drvnt5.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined( __DRIVER_NT5_H__ )
  11. #define __DRIVER_NT5_H__
  12. #define MAXIMUM_SERIAL_READERS 10
  13. // Prototypes
  14. NTSTATUS
  15. DrvAddDevice(
  16. PDRIVER_OBJECT DriverObject,
  17. PDEVICE_OBJECT PhysicalDeviceObject
  18. );
  19. NTSTATUS
  20. DrvCreateDevice(
  21. PDRIVER_OBJECT DriverObject,
  22. PDEVICE_OBJECT *DeviceObject
  23. );
  24. NTSTATUS
  25. DrvStartDevice(
  26. PDEVICE_OBJECT DeviceObject
  27. );
  28. VOID
  29. DrvStopDevice(
  30. PDEVICE_EXTENSION DeviceExtension
  31. );
  32. VOID
  33. DrvCloseSerialDriver(
  34. PDEVICE_OBJECT DeviceObject
  35. );
  36. NTSTATUS
  37. DrvSerialCallComplete(
  38. PDEVICE_OBJECT DeviceObject,
  39. PIRP Irp,
  40. PKEVENT Event
  41. );
  42. NTSTATUS
  43. DrvCallSerialDriver(
  44. IN PDEVICE_OBJECT DeviceObject,
  45. IN PIRP Irp
  46. );
  47. NTSTATUS
  48. DrvSystemControl(
  49. IN PDEVICE_OBJECT DeviceObject,
  50. IN PIRP Irp
  51. );
  52. NTSTATUS
  53. DrvGenericIOCTL(
  54. PSMARTCARD_EXTENSION SmartcardExtension
  55. );
  56. NTSTATUS
  57. DrvPnPHandler(
  58. PDEVICE_OBJECT DeviceObject,
  59. PIRP Irp
  60. );
  61. NTSTATUS
  62. DrvPowerHandler(
  63. PDEVICE_OBJECT DeviceObject,
  64. PIRP Irp
  65. );
  66. NTSTATUS
  67. DrvCreateClose(
  68. PDEVICE_OBJECT DeviceObject,
  69. PIRP Irp
  70. );
  71. NTSTATUS
  72. DrvCleanup(
  73. PDEVICE_OBJECT DeviceObject,
  74. PIRP Irp
  75. );
  76. VOID
  77. DrvRemoveDevice(
  78. PDEVICE_OBJECT DeviceObject
  79. );
  80. VOID
  81. DrvDriverUnload(
  82. PDRIVER_OBJECT DriverObject
  83. );
  84. VOID
  85. DrvWaitForDeviceRemoval(
  86. IN PDEVICE_OBJECT DeviceObject,
  87. IN PVOID Context
  88. );
  89. #endif // !__DRIVER_NT5_H__
  90. //---------------------------------------- END OF FILE ----------------------------------------