Win32 Windows Disk Programming

 

 

 

 

 

 

 

HOME

What do we have in this session?

This tutorial provide information and program examples on how to manipulate disk/drive in Windows system using Win32 APIs. The information may be repeated for files and directories that are available in the next tutorials.

  1. Introduction

  2. Disk Devices and Partitions

  3. Basic and Dynamic Disks

  4. Basic Disks

  5. Dynamic Disks

  6. Partition Styles

  7. Master Boot Record

  8. GUID Partition Table

  9. Detecting the Type of Disk

  10. Defining an MS-DOS Device Name

  11. Managing Disk Quotas

  12. User-level Administration of Disk Quotas

  13. System-level Administration of Disk Quotas

  14. Disk Quota Limits

  15. Disk Quota Interfaces

  16. Disk Management Control Codes

  17. Disk Management Enumeration Types

  18. MEDIA_TYPE Enumeration Definition

    • Constants

  19. PARTITION_STYLE Enumeration Definition

    • Constants

  20. Disk Management Functions

  21. CreateFile() Function

    • Parameters

    • Return Value

  22. Symbolic Link Behavior

  23. Caching Behavior

  24. Files

  25. Synchronous and Asynchronous I/O Handles

  26. File Streams

  27. Directories

  28. Physical Disks and Volumes

  29. Changer Device

  30. Tape Drives

  31. Communications Resources

  32. Consoles

  33. Mailslots

  34. Pipes

  35. Opening a File for Reading or Writing

  36. Example: Open a File for Writing

  37. Example: Open a File for Reading

  38. How Do I Get the Security tab in Folder Properties?

  39. Calling DeviceIoControl() Program Example

  40. DeleteFile() Function

    • Parameters

    • Return Value

    • Remarks

  41. Symbolic link behavior

  42. Deleting a File Program Example

  43. Another Deleting File Program Example

  44. GetDiskFreeSpace() Function

    • Parameters

    • Return Value

  45. GetDiskFreeSpaceEx() Function Example

    • Parameters

    • Return Value

  46. Notes on 64-bit Integer Math

  47. Disk Management Interfaces

  48. Disk Management Structures

  49. Disk Partition Types

 

< Windows Volume Programming Index | Win32 Programming | Windows Disk 1 >