source: trunk/dll/filldir.h@ 1433

Last change on this file since 1433 was 1430, checked in by Gregg Young, 16 years ago

Additional comments

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
RevLine 
[907]1
2/***********************************************************************
3
[1196]4 $Id: filldir.h 1430 2009-06-07 23:22:47Z gyoung $
[907]5
6 filldir.c definitions
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2001, 2008 Steven H. Levine
10
11 05 Jan 08 SHL Split from fm3dll.h
[1358]12 25 Dec 08 GKY Add ProcessDirectoryThread to allow optional recursive drive scan at startup.
[1402]13 08 Mar 09 GKY Additional strings move to PCSZs
[1430]14 06 Jun 09 GKY Add option to show file system type or drive label in tree
[907]15
16***********************************************************************/
17
18#if !defined(FILLDIR_H)
19
20#define FILLDIR_H
21
22#if !defined(OS2_INCLUDED)
23#define INCL_WINSTDCNR // dircnrs.h
24#include <os2.h>
25#else
26#if !defined(INCL_WINSTDCNR)
27#error INCL_WINSTDCNR required
28#endif
29#endif
30
31#include "dircnrs.h" // DIRCNRDATA
32
33VOID EmptyCnr(HWND hwnd);
34const PSZ FileAttrToString(ULONG fileAttr);
35VOID FillDirCnr(HWND hwndCnr, CHAR *pszDirectory, DIRCNRDATA *pdcd,
36 PULONGLONG pullBytes);
37VOID FillTreeCnr(HWND hwndCnr, HWND hwndParent);
38VOID ProcessDirectory(const HWND hwndCnr, const PCNRITEM pciParent,
39 const CHAR *szDirBase, const BOOL filestoo,
40 const BOOL recurse, const BOOL partial,
41 CHAR *stopflag, DIRCNRDATA *pdcd,
42 PULONG pullTotalFiles, PULONGLONG pullTotalBytes);
43ULONGLONG FillInRecordFromFFB(HWND hwndCnr, PCNRITEM pci,
44 const PSZ pszDirectory,
45 const PFILEFINDBUF4L pffb, const BOOL partial,
46 DIRCNRDATA *pdcd);
47ULONGLONG FillInRecordFromFSA(HWND hwndCnr, PCNRITEM pci,
48 const PSZ pszFileName, const PFILESTATUS4L pfsa4,
[1424]49 const BOOL partial, CHAR *szFSType, DIRCNRDATA *pdcd);
[907]50VOID FreeCnrItem(HWND hwnd, PCNRITEM pci);
51VOID FreeCnrItemList(HWND hwnd, PCNRITEM pciFirst);
52VOID FreeCnrItemData(PCNRITEM pci);
53INT RemoveCnrItems(HWND hwnd, PCNRITEM pci, USHORT usCnt, USHORT usFlags);
[1354]54VOID ProcessDirectoryThread(VOID * arg);
[907]55
[1207]56// Data declarations
[1402]57extern PCSZ FM3Tools;
58extern PCSZ WPProgram;
[1207]59extern HPOINTER hptrEnv;
60extern HPOINTER hptrHidden;
61extern HPOINTER hptrReadonly;
62extern HPOINTER hptrSystem;
[1354]63extern volatile INT StubbyScanCount;
64extern volatile INT ProcessDirCount;
[1207]65
[1354]66typedef struct {
67
68 HWND hwndCnr;
69 PCNRITEM pciParent;
70 CHAR *szDirBase;
71 BOOL filestoo;
72 BOOL recurse;
73 BOOL partial;
74 CHAR *stopflag;
75 DIRCNRDATA *dcd; // Optional
76 ULONG *pulTotalFiles; // Optional
77 PULONGLONG pullTotalBytes; // Optional
78}
79PROCESSDIR;
80
[907]81#endif // FILLDIR_H
Note: See TracBrowser for help on using the repository browser.