Windows NT ( 2)



         

- 8


if((pdi + index)->dwFileSystemFlags

& FS_CASE_IS_PRESERVED)

strcat(szBuf, "\nFS_CASE_IS_PRESERVED");

if((pdi + index)->dwFileSystemFlags

& FS_CASE_SENSITIVE)

strcat(szBuf, "\nFS_CASE_SENSITIVE");

if((pdi + index)->dwFileSystemFlags

& FS_UNICODE_STORED_ON_DISK)

strcat(szBuf, "\nFS_UNICODE_STORED_ON_DISK");

if((pdi + index)->dwFileSystemFlags

& FS_PERSISTENT_ACLS)

strcat(szBuf, "\nFS_PERSISTENT_ACLS");

if((pdi + index)->dwFileSystemFlags

& FS_FILE_COMPRESSION)

strcat(szBuf, "\nFS_FILE_COMPRESSION");

if((pdi + index)->dwFileSystemFlags

& FS_VOL_IS_COMPRESSED)

strcat(szBuf, "\nFS_VOL_IS_COMPRESSED");

//

//

InvalidateRect(hWnd, NULL, TRUE);

MessageBox(hWnd, szBuf, szAppTitle, MB_OK);

return 0L;

break;

}

}

return 0L;

}

// -----------------------------------------------------

// WndProc_OnSize

// -----------------------------------------------------

#pragma warning(disable: 4098)

void WndProc_OnSize(HWND hwnd, UINT state, int cx, int cy)

{

MoveWindow(hwndList, 0, 0, cx, cy, TRUE);

return FORWARD_WM_SIZE(hwnd, state, cx, cy, DefWindowProc);

}

// -----------------------------------------------------

// GetDiskInfo

// -----------------------------------------------------

void GetDiskInfo(void)

{

DWORD dwDriveStringsSpace;

LPSTR lpTemp;

int i;

DWORD dwSectors, dwClusters, dwFreeClusters, dwBytes;

// ,

//

dwDriveStringsSpace = GetLogicalDriveStrings(0, NULL);

//