Saturday, July 23, 2022

CPP: Windows: GetLogicalDriveStrings

CPP: Windows: GetLogicalDriveStrings

Fills a buffer with strings that specify valid drives in the system.

Notes:
- Tested using Visual Studio 2022 C++ Windows Console template
Reference(s):
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getlogicaldrivestringsw

No comments:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...