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.

125 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. isodev.h
  5. Abstract:
  6. Environment:
  7. Kernel mode
  8. Notes:
  9. Copyright (c) 2000 Microsoft Corporation.
  10. All Rights Reserved.
  11. --*/
  12. #ifndef _ISOUSB_DEV_H
  13. #define _ISOUSB_DEV_H
  14. typedef struct _FILE_OBJECT_CONTENT {
  15. PVOID PipeInformation;
  16. PVOID StreamInformation;
  17. }FILE_OBJECT_CONTENT, *PFILE_OBJECT_CONTENT;
  18. NTSTATUS
  19. IsoUsb_DispatchCreate(
  20. IN PDEVICE_OBJECT DeviceObject,
  21. IN PIRP Irp
  22. );
  23. NTSTATUS
  24. IsoUsb_DispatchClose(
  25. IN PDEVICE_OBJECT DeviceObject,
  26. IN PIRP Irp
  27. );
  28. NTSTATUS
  29. IsoUsb_DispatchDevCtrl(
  30. IN PDEVICE_OBJECT DeviceObject,
  31. IN PIRP Irp
  32. );
  33. LONG
  34. IsoUsb_ParseStringForPipeNumber(
  35. IN PUNICODE_STRING PipeName
  36. );
  37. NTSTATUS
  38. IsoUsb_ResetPipe(
  39. IN PDEVICE_OBJECT DeviceObject,
  40. IN PUSBD_PIPE_INFORMATION PipeInfo
  41. );
  42. NTSTATUS
  43. IsoUsb_ResetDevice(
  44. IN PDEVICE_OBJECT DeviceObject
  45. );
  46. NTSTATUS
  47. IsoUsb_GetPortStatus(
  48. IN PDEVICE_OBJECT DeviceObject,
  49. IN PULONG PortStatus
  50. );
  51. NTSTATUS
  52. IsoUsb_ResetParentPort(
  53. IN IN PDEVICE_OBJECT DeviceObject
  54. );
  55. NTSTATUS
  56. SubmitIdleRequestIrp(
  57. IN PDEVICE_EXTENSION DeviceExtension
  58. );
  59. VOID
  60. IdleNotificationCallback(
  61. IN PDEVICE_EXTENSION DeviceExtension
  62. );
  63. NTSTATUS
  64. IdleNotificationRequestComplete(
  65. IN PDEVICE_OBJECT DeviceObject,
  66. IN PIRP Irp,
  67. IN PDEVICE_EXTENSION DeviceExtension
  68. );
  69. VOID
  70. CancelSelectSuspend(
  71. IN PDEVICE_EXTENSION DeviceExtension
  72. );
  73. VOID
  74. PoIrpCompletionFunc(
  75. IN PDEVICE_OBJECT DeviceObject,
  76. IN UCHAR MinorFunction,
  77. IN POWER_STATE PowerState,
  78. IN PVOID Context,
  79. IN PIO_STATUS_BLOCK IoStatus
  80. );
  81. VOID
  82. PoIrpAsyncCompletionFunc(
  83. IN PDEVICE_OBJECT DeviceObject,
  84. IN UCHAR MinorFunction,
  85. IN POWER_STATE PowerState,
  86. IN PVOID Context,
  87. IN PIO_STATUS_BLOCK IoStatus
  88. );
  89. VOID
  90. WWIrpCompletionFunc(
  91. IN PDEVICE_OBJECT DeviceObject,
  92. IN UCHAR MinorFunction,
  93. IN POWER_STATE PowerState,
  94. IN PVOID Context,
  95. IN PIO_STATUS_BLOCK IoStatus
  96. );
  97. #endif