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.

113 lines
1.7 KiB

  1. NTSTATUS
  2. DriverEntry(
  3. IN PDRIVER_OBJECT DriverObject,
  4. IN PUNICODE_STRING RegistryPath
  5. );
  6. NTSTATUS
  7. UsbScAddDevice(
  8. IN PDRIVER_OBJECT DriverObject,
  9. IN PDEVICE_OBJECT Pdo
  10. );
  11. VOID
  12. UsbScUnloadDriver(
  13. PDRIVER_OBJECT DriverObject
  14. );
  15. NTSTATUS
  16. UsbScCleanup(
  17. IN PDEVICE_OBJECT DeviceObject,
  18. IN PIRP Irp
  19. );
  20. NTSTATUS
  21. UsbScCreateClose(
  22. PDEVICE_OBJECT DeviceObject,
  23. PIRP Irp
  24. );
  25. NTSTATUS
  26. UsbScDeviceIoControl(
  27. PDEVICE_OBJECT DeviceObject,
  28. PIRP Irp
  29. );
  30. NTSTATUS
  31. UsbScPnP(
  32. IN PDEVICE_OBJECT DeviceObject,
  33. IN PIRP Irp
  34. );
  35. NTSTATUS
  36. UsbScPower (
  37. IN PDEVICE_OBJECT DeviceObject,
  38. IN PIRP Irp
  39. );
  40. NTSTATUS
  41. UsbScCancel(
  42. IN PDEVICE_OBJECT DeviceObject,
  43. IN PIRP Irp
  44. );
  45. NTSTATUS
  46. UsbScSetDevicePowerState(
  47. IN PDEVICE_OBJECT DeviceObject,
  48. IN DEVICE_POWER_STATE DeviceState,
  49. OUT PBOOLEAN PostWaitWakeIrp
  50. );
  51. NTSTATUS
  52. UsbScSystemControl(
  53. PDEVICE_OBJECT DeviceObject,
  54. PIRP Irp
  55. );
  56. NTSTATUS
  57. UsbScDefaultPnpHandler(
  58. PDEVICE_OBJECT DeviceObject,
  59. PIRP Irp
  60. );
  61. NTSTATUS
  62. UsbScForwardAndWait(
  63. PDEVICE_OBJECT DeviceObject,
  64. PIRP Irp
  65. );
  66. NTSTATUS
  67. OnRequestComplete(
  68. PDEVICE_OBJECT DeviceObject,
  69. PIRP Irp,
  70. PKEVENT Event
  71. );
  72. NTSTATUS
  73. IncIoCount(
  74. PDEVICE_EXTENSION DevExt
  75. );
  76. NTSTATUS
  77. DecIoCount(
  78. PDEVICE_EXTENSION DevExt
  79. );
  80. VOID
  81. UsbScUnloadDevice(
  82. PDEVICE_OBJECT DeviceObject
  83. );