Get disk partition

xiaoxiao2021-03-06  107

Size_t szallDrivestrings = getLogicalDriveStrings (0, null);

Char * pdrivestrings = new char [szallDrivestrings sizeof (_t ("))];

GetLogicalDriveStrings (SzallDrivestrings, PDRIVESTRINGS);

SIZE_T SZDRIVESTRING = Strlen (PDRIVESTRINGS);

While (szdriveString> 0)

{

AfxMessageBox (PDRIVESTRINGS);

PDRIVESTRINGS = SZDRIVESTRING 1;

SZDRIVESTRING = Strlen (PDRIVESTRINGS);

}

转载请注明原文地址:https://www.9cbs.com/read-100987.html

New Post(0)