The Win32 Code Example Index 1

Volume, Disk, Directory & File

 

 

 

 

 

 

Session 1: Windows Volumes

 

  1. Obtaining File System Recognition Information Example

  2. Enumerating Volume GUID Paths Example

  3. Obtaining Volume Information Program Example

  4. Getting the System Information Program Example

  5. Another Basic Windows System Information Program Example

  6. Getting Logical Drive Program Example

  7. Getting the Logical Drive String Program Example

  8. Getting Drive Type Program Example

  9. Walking a Buffer of Change Journal Records Program Example

  10. Creating Mounted Folders Programmatically

  11. Mounted Folder Program Examples

  12. Displaying Volume Paths Program Example

  13. Editing Drive Letter Assignments Program Example

  14. Creating a Mounted Folder Program Example

  15. Deleting a Mounted Folder Program Example

  16. Master File Table Program Example 1

  17. Master File Table Program Example 2: Reading and Dumping the Deleted Files

  18. Master File Table Program Example 3: Using Non-Windows Types

  19. Another Day, Another MFT Program Example: List, Recover and Delete the Deleted Files from Master File Table

  20. ...Continue: Adding the ntfs.h header file to the project

  21. ...Continue: Deleting permanently the deleted file & Windows Master Boot Record (MBR)

 

 

 

Session 2: Windows Disk

 

  1. Opening a File for Reading or Writing

  2. Example: Open a File for Reading

  3. Calling DeviceIoControl() Program Example

  4. Deleting a File Program Example

  5. Another Deleting File Program Example

  6. GetDiskFreeSpaceEx() Function Example

 

Session 3: Windows Directory

 

  1. Changing the Current Directory Program Example

  2. Listing the Files in a Directory Program Example

  3. Moving Directories Program Example

  4. Obtaining Directory Change Notifications Program Example

  5. Retrieving and Changing File Attributes Program Example

 

Session 4: Windows Files

 

  1. File Type, Size and Timestamp Program Example

  2. Determining the Current Character Set Code Page

  3. Compressed File (Attributes) Program Example

  4. Using Windows Compressed Functions Program Example

  5. Adding Users to an Encrypted File Program Example

  6. Appending One File to Another File Program Example

  7. Creating and Using a Temporary File Program Example

  8. Locking and Unlocking Byte Ranges in Files Program Example

  9. Opening a File for Reading or Writing

  10. Open a File for Writing Program Example

  11. Open a File for Reading Program Example

  12. Retrieving and Changing File Attributes

  13. Testing for the End of a File (EOF)

  14. Using Streams Program Example

   
 

 

Win32 Programming | Win32 Code Samples Index Page