Changeset 36 for trunk/dll/info.c
- Timestamp:
- Oct 17, 2002, 3:53:23 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/dll/info.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/info.c
r2 r36 1 2 /*********************************************************************** 3 4 $Id$ 5 6 Info window 7 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2001, 2002 Steven H.Levine 10 11 Revisions 16 Oct 02 SHL - Handle large partitions 12 13 ***********************************************************************/ 14 1 15 #define INCL_DOS 2 16 #define INCL_WIN … … 173 187 s); 174 188 sprintf(s, 175 "%lu mb, %lu kb, %lu %s%s",((fsa.cUnit * 176 (fsa.cSectorUnit * fsa.cbSector)) / 1024L) / 1024L, 177 (fsa.cUnit * (fsa.cSectorUnit * fsa.cbSector)) / 1024L, 189 "%lu mb, %lu kb, %lu %s%s", 190 (ULONG)(((float)fsa.cUnit * 191 (fsa.cSectorUnit * fsa.cbSector)) / (1024L * 1024L)), 192 (ULONG)(((float)fsa.cUnit * (fsa.cSectorUnit * fsa.cbSector)) / 1024L), 178 193 fsa.cUnit, 179 194 GetPString(IDS_UNITTEXT), … … 184 199 sprintf(s, 185 200 "%lu mb, %lu kb, %lu %s%s", 186 ((fsa.cUnitAvail * (fsa.cSectorUnit * fsa.cbSector)) / 1024L) / 1024L, 187 (fsa.cUnitAvail * (fsa.cSectorUnit * fsa.cbSector)) / 1024L, 201 (ULONG)(((float)fsa.cUnitAvail * 202 (fsa.cSectorUnit * fsa.cbSector)) / (1024L * 1024L)), 203 (ULONG)(((float)fsa.cUnitAvail * (fsa.cSectorUnit * fsa.cbSector)) / 1024L), 188 204 fsa.cUnitAvail, 189 205 GetPString(IDS_UNITTEXT), … … 975 991 return WinDefDlgProc(hwnd,msg,mp1,mp2); 976 992 } 977 993 978 994 979 995 MRESULT EXPENTRY SetDrvProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2) {
Note:
See TracChangeset
for help on using the changeset viewer.
