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.

91 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. sSDevCtr.h
  5. Abstract:
  6. Environment:
  7. Kernel mode
  8. Notes:
  9. Copyright (c) 2000 Microsoft Corporation.
  10. All Rights Reserved.
  11. --*/
  12. #ifndef __DEV_CTRL_H
  13. #define __DEV_CTRL_H
  14. NTSTATUS
  15. SS_DispatchCreate(
  16. IN PDEVICE_OBJECT DeviceObject,
  17. IN PIRP Irp
  18. );
  19. NTSTATUS
  20. SS_DispatchClose(
  21. IN PDEVICE_OBJECT DeviceObject,
  22. IN PIRP Irp
  23. );
  24. NTSTATUS
  25. SS_DispatchDevCtrl(
  26. IN PDEVICE_OBJECT DeviceObject,
  27. IN PIRP Irp
  28. );
  29. NTSTATUS
  30. SubmitIdleRequestIrp(
  31. IN PDEVICE_EXTENSION DeviceExtension
  32. );
  33. VOID
  34. IdleNotificationCallback(
  35. IN PDEVICE_EXTENSION DeviceExtension
  36. );
  37. NTSTATUS
  38. IdleNotificationRequestComplete(
  39. IN PDEVICE_OBJECT DeviceObject,
  40. IN PIRP Irp,
  41. IN PDEVICE_EXTENSION DeviceExtension
  42. );
  43. VOID
  44. CancelSelectSuspend(
  45. IN PDEVICE_EXTENSION DeviceExtension
  46. );
  47. VOID
  48. PoIrpCompletionFunc(
  49. IN PDEVICE_OBJECT DeviceObject,
  50. IN UCHAR MinorFunction,
  51. IN POWER_STATE PowerState,
  52. IN PVOID Context,
  53. IN PIO_STATUS_BLOCK IoStatus
  54. );
  55. VOID
  56. PoIrpAsyncCompletionFunc(
  57. IN PDEVICE_OBJECT DeviceObject,
  58. IN UCHAR MinorFunction,
  59. IN POWER_STATE PowerState,
  60. IN PVOID Context,
  61. IN PIO_STATUS_BLOCK IoStatus
  62. );
  63. VOID
  64. WWIrpCompletionFunc(
  65. IN PDEVICE_OBJECT DeviceObject,
  66. IN UCHAR MinorFunction,
  67. IN POWER_STATE PowerState,
  68. IN PVOID Context,
  69. IN PIO_STATUS_BLOCK IoStatus
  70. );
  71. #endif