Source code of Windows XP (NT5)
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.

69 lines
692 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. volumes.h
  5. Abstract:
  6. SIS Groveler volume mount include file
  7. Authors:
  8. John Douceur, 1998
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef _INC_VOLUMES
  14. #define _INC_VOLUMES
  15. class Volumes
  16. {
  17. public:
  18. Volumes();
  19. ~Volumes();
  20. DWORD find(
  21. _TCHAR *volume_name,
  22. DWORD length);
  23. private:
  24. HANDLE volume_handle;
  25. };
  26. class VolumeMountPoints
  27. {
  28. public:
  29. VolumeMountPoints(
  30. _TCHAR *volume_name);
  31. ~VolumeMountPoints();
  32. DWORD find(
  33. _TCHAR *volume_mount_point,
  34. DWORD length);
  35. private:
  36. _TCHAR *volume_name;
  37. DWORD drive_mask;
  38. _TCHAR drive_letter;
  39. HANDLE volume_handle;
  40. };
  41. #endif /* _INC_VOLUMES */