Sunday, July 17, 2022

CPP: Windows: Get logical drives

CPP: Windows: Get logical drives

Retrieves a bitmask representing the currently available disk drives.

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

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...