SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a new solution of doing it with doing WMI calls. Then all you need to do is just to call :
queryAndPrintResult(L"SELECT * FROM Win32_DiskDrive", L"Name");