Hey,guys!Code:TCHAR szDrive[BUFSIZ]; TCHAR szSyName[255]; UINT uType; FindFirstVolume(szDrive,BUFSIZ); GetVolumeInformation(szDrive, NULL,0, NULL,NULL, NULL,szSyName,255); MessageBox(hwnd,szSyName,TEXT("---"),MB_OK);
What is the difference between lpRootPathName and lpszVolumeName?
Why this function “GetVolumeInformation” can accept the szVolumeName parameters?