Changeset 165
- Timestamp:
- May 26, 2005, 4:43:02 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/dll/fm3dll.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/fm3dll.h
r145 r165 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2001, 2005 Steven H. Levine9 Copyright (c) 2001, 2005 Steven H. Levine 10 10 11 11 12 Feb 03 SHL Add CBLIST_TO_EASIZE … … 16 16 23 May 05 SHL Split datamin to datamin.h 17 17 24 May 05 SHL Rework Win_Error usage 18 25 May 05 SHL Require VAC 3.65 19 25 May 05 SHL Rename comnam to szCommonName 20 25 May 05 SHL Rework for FillInRecordFromFFB 21 25 May 05 SHL Add CommaFmtULL CommaFmtUL 18 22 19 23 ***********************************************************************/ 24 25 #if __IBMC__ != 430 26 #error VAC365 required for long long support 27 #endif 28 29 #if !defined(_LONG_LONG) 30 #error Long long support not enabled 31 #endif 20 32 21 33 #ifdef DEFINE_GLOBALS … … 334 346 MINIRECORDCORE rc; /* Base information */ 335 347 HWND hwndCnr; /* The container holding this record */ 336 PSZ pszFileName; / * Pointer to file name */337 CHAR szFileName[CCHMAXPATH]; / * File name */338 CHAR s ubject[40]; /* subject string */339 CHAR *pszSubject; / * pointer to subject string */340 CHAR *pszDispAttr; / * Pointer to attrib string */348 PSZ pszFileName; // Points to szFileName - required by CFA_STRING 349 CHAR szFileName[CCHMAXPATH]; // Path name - fixme to rename 350 CHAR szSubject[40]; /* Subject string */ 351 CHAR *pszSubject; // Points szSubject - required by CFA_STRING 352 CHAR *pszDispAttr; // Points to szDispAttr - required by CFA_STRING 341 353 CDATE date; /* Last write date of file */ 342 354 CTIME time; /* Last write time of file */ … … 346 358 CTIME crtime; /* Creation time of file */ 347 359 CHAR szDispAttr[6]; /* Attrib string for details display */ 348 CHAR *pszLongname; 349 ULONG cbFile; /* File size */350 ULONG easize; /* Size of EAs */360 CHAR *pszLongname; // Points to szLongName - required by CFA_STRING 361 ULONGLONG cbFile; /* File size */ 362 ULONGLONG easize; // Size of EAs - dirsize uses this - hack cough 351 363 ULONG attrFile; /* Attributes of this file */ 352 364 ULONG flags; 353 CHAR Longname[1];365 CHAR szLongname[1]; // Holds .LONGNAME EA or root flag 354 366 } CNRITEM, *PCNRITEM; 355 367 … … 450 462 CHAR font[CCHMAXPATH]; 451 463 MASK mask; 452 ULONG totalbytes,selectedbytes,selectedfiles,totalfiles; 464 ULONGLONG ullTotalBytes; 465 ULONGLONG selectedbytes; 466 ULONG selectedfiles; 467 ULONG totalfiles; 453 468 BOOL cnremphasized; 454 469 BOOL dontclose; … … 472 487 USHORT shiftstate; 473 488 USHORT suspendview; 474 CHAR comnam[CCHMAXPATH];489 CHAR szCommonName[CCHMAXPATH]; 475 490 ULONG lasttime; 476 491 BOOL arcfilled; … … 527 542 528 543 /* filldir.c */ 529 ULONG FillDirCnr (HWND hwndCnr,CHAR *directory,DIRCNRDATA *dcd); 530 ULONG FillTreeCnr (HWND hwndCnr,HWND hwndParent); 531 ULONG ProcessDirectory (const HWND hwndCnr, const PCNRITEM pciParent, 532 const CHAR *szDirBase, const BOOL filestoo, 533 const BOOL recurse,const BOOL partial, 534 CHAR *stopflag,DIRCNRDATA *dcd,ULONG *foundany); 535 ULONG FillInRecordFromFFB (HWND hwndCnr,PCNRITEM pci, const PSZ pszDirectory, 536 const PFILEFINDBUF4 pffb,const BOOL partial, 537 DIRCNRDATA *dcd); 538 ULONG FillInRecordFromFSA (HWND hwndCnr,PCNRITEM pci,const PSZ pszFileName, 539 const PFILESTATUS4 pfsa4, 540 const BOOL partial,DIRCNRDATA *dcd); 541 544 VOID FillDirCnr(HWND hwndCnr,CHAR *pszDirectory,DIRCNRDATA *pdcd, 545 PULONGLONG pullBytes); 546 VOID FillTreeCnr(HWND hwndCnr,HWND hwndParent); 547 VOID ProcessDirectory(const HWND hwndCnr, const PCNRITEM pciParent, 548 const CHAR *szDirBase, const BOOL filestoo, 549 const BOOL recurse,const BOOL partial, 550 CHAR *stopflag,DIRCNRDATA *pdcd, 551 PULONG pullTotalFiles, 552 PULONGLONG pullTotalBytes); 553 ULONGLONG FillInRecordFromFFB(HWND hwndCnr,PCNRITEM pci, const PSZ pszDirectory, 554 const PFILEFINDBUF4 pffb,const BOOL partial, 555 DIRCNRDATA *pdcd); 556 ULONGLONG FillInRecordFromFSA (HWND hwndCnr,PCNRITEM pci,const PSZ pszFileName, 557 const PFILESTATUS4 pfsa4, 558 const BOOL partial,DIRCNRDATA *pdcd); 542 559 543 560 /* flesh.c */ … … 855 872 VOID Deselect (HWND hwndCnr); 856 873 VOID HideAll (HWND hwndCnr); 857 VOID RemoveAll (HWND hwndCnr,ULONG *totalbytes,ULONG *totalfiles);874 VOID RemoveAll (HWND hwndCnr,ULONGLONG *ullTotalBytes,ULONG *totalfiles); 858 875 VOID MarkAll (HWND hwndCnr,BOOL quitit,BOOL target,BOOL source); 859 876 VOID SetMask (CHAR *str,MASK *mask); … … 1075 1092 1076 1093 /* commafmt.c */ 1077 size_t commafmt(char *buf,int bufsize,long N); 1094 size_t commafmt(PSZ pszBuf,UINT cBufSize,LONG lNumber); 1095 size_t CommaFmtUL(char *pszBuf,UINT cBufSize,ULONG ullNumber, 1096 CHAR chPreferred); 1097 size_t CommaFmtULL(char *pszBuf,UINT cBufSize,ULONGLONG ullNumber, 1098 CHAR chPreferred); 1078 1099 1079 1100 /* autoview.c */
Note:
See TracChangeset
for help on using the changeset viewer.
