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.

84 lines
1.4 KiB

  1. DWORD
  2. DevfileOpen(
  3. OUT HANDLE *Handle,
  4. IN wchar_t *Pathname
  5. );
  6. VOID
  7. DevfileClose(
  8. IN HANDLE Handle
  9. );
  10. DWORD
  11. DevfileIoctl(
  12. HANDLE Handle,
  13. DWORD Ioctl,
  14. PVOID Inbuf,
  15. ULONG Inbufsize,
  16. PVOID OutBuf,
  17. DWORD OutBufSize,
  18. LPDWORD ReturnedBufsize
  19. );
  20. DWORD
  21. DisksAssignDosDevice(
  22. PCHAR MountName,
  23. PWCHAR VolumeDevName
  24. );
  25. DWORD
  26. DisksRemoveDosDevice(
  27. PCHAR MountName
  28. );
  29. DWORD
  30. FindFirstVolumeForSignature(
  31. IN HANDLE MountMgrHandle,
  32. IN DWORD Signature,
  33. OUT LPSTR VolumeName,
  34. IN DWORD BufferLength,
  35. OUT LPHANDLE Handle,
  36. OUT PVOID UniqueId OPTIONAL,
  37. IN OUT LPDWORD IdLength,
  38. OUT PUCHAR DriveLetter OPTIONAL
  39. );
  40. DWORD
  41. FindNextVolumeForSignature(
  42. IN HANDLE MountMgrHandle,
  43. IN DWORD Signature,
  44. IN HANDLE Handle,
  45. OUT LPSTR VolumeName,
  46. IN DWORD BufferLength,
  47. OUT PVOID UniqueId OPTIONAL,
  48. IN OUT LPDWORD IdLength,
  49. OUT PUCHAR DriveLetter OPTIONAL
  50. );
  51. DWORD
  52. DisksSetDiskInfo(
  53. IN HKEY RegistryKey,
  54. IN DWORD Signature
  55. );
  56. DWORD
  57. DisksSetMountMgr(
  58. IN HKEY RegistryKey,
  59. IN DWORD Signature
  60. );
  61. BOOL
  62. DisksDoesDiskInfoMatch(
  63. IN HKEY RegistryKey,
  64. IN DWORD Signature
  65. );
  66. BOOL
  67. DisksIsDiskInfoValid(
  68. IN HKEY RegistryKey,
  69. IN DWORD Signature
  70. );