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.

94 lines
1.8 KiB

  1. /*++
  2. Copyright (C) 1997-99 Microsoft Corporation
  3. Module Name:
  4. init.h
  5. Abstract:
  6. --*/
  7. #if !defined (___INIT_H___)
  8. #define ___INIT_H___
  9. NTSTATUS
  10. IdePortInitFdo(
  11. IN OUT PFDO_EXTENSION FdoExtension
  12. );
  13. NTSTATUS
  14. IssueSyncAtapiCommandSafe (
  15. IN PFDO_EXTENSION FdoExtension,
  16. IN PPDO_EXTENSION PdoExtension,
  17. IN PCDB Cdb,
  18. IN PVOID DataBuffer,
  19. IN ULONG DataBufferSize,
  20. IN BOOLEAN DataIn,
  21. IN ULONG RetryCount,
  22. IN BOOLEAN ByPassBlockedQueue
  23. );
  24. NTSTATUS
  25. SyncAtapiSafeCompletion (
  26. PDEVICE_OBJECT DeviceObject,
  27. PIRP Irp,
  28. PVOID Context
  29. );
  30. BOOLEAN
  31. IdePortDmaCdromDrive(
  32. IN PFDO_EXTENSION FdoExtension,
  33. IN PPDO_EXTENSION PdoExtension,
  34. IN BOOLEAN LowMem
  35. );
  36. NTSTATUS
  37. IssueInquirySafe(
  38. IN PFDO_EXTENSION FdoExtension,
  39. IN PPDO_EXTENSION PdoExtension,
  40. OUT PINQUIRYDATA InquiryData,
  41. IN BOOLEAN LowMem
  42. );
  43. NTSTATUS
  44. IssueSyncAtapiCommand (
  45. IN PFDO_EXTENSION FdoExtension,
  46. IN PPDO_EXTENSION PdoExtension,
  47. IN PCDB Cdb,
  48. IN PVOID DataBuffer,
  49. IN ULONG DataBufferSize,
  50. IN BOOLEAN DataIn,
  51. IN ULONG RetryCount,
  52. IN BOOLEAN ByPassBlockedQueue
  53. );
  54. ULONG
  55. IdePortQueryNonCdNumLun (
  56. IN PFDO_EXTENSION FdoExtension,
  57. IN PPDO_EXTENSION PdoExtension,
  58. IN BOOLEAN ByPassBlockedQueue
  59. );
  60. VOID
  61. IdeBusScan(
  62. IN PFDO_EXTENSION FdoExtension
  63. );
  64. VOID
  65. IdeBuildDeviceMap(
  66. IN PFDO_EXTENSION FdoExtension,
  67. IN PUNICODE_STRING ServiceKey
  68. );
  69. NTSTATUS
  70. IdeCreateNumericKey(
  71. IN HANDLE Root,
  72. IN ULONG Name,
  73. IN PWSTR Prefix,
  74. OUT PHANDLE NewKey
  75. );
  76. #endif // ___INIT_H___