source: trunk/dll/filldir.h@ 1357

Last change on this file since 1357 was 1354, checked in by Gregg Young, 17 years ago

Added driveflags to over ride write verify for USB removable drives that fail when it is on (Ticket 323); A flag to prevent directory name from being broadcast to drives in the tree cnr prior to a recursive scan of the drive (causes dbl directory names Ticket 321) Add option for multithreaded recursive scan of user selected drives at startup (Ticket 322).

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
RevLine 
[907]1
2/***********************************************************************
3
[1196]4 $Id: filldir.h 1354 2008-12-25 22:43:34Z 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
12
13***********************************************************************/
14
15#if !defined(FILLDIR_H)
16
17#define FILLDIR_H
18
19#if !defined(OS2_INCLUDED)
20#define INCL_WINSTDCNR // dircnrs.h
21#include <os2.h>
22#else
23#if !defined(INCL_WINSTDCNR)
24#error INCL_WINSTDCNR required
25#endif
26#endif
27
28#include "dircnrs.h" // DIRCNRDATA
29
30VOID EmptyCnr(HWND hwnd);
31const PSZ FileAttrToString(ULONG fileAttr);
32VOID FillDirCnr(HWND hwndCnr, CHAR *pszDirectory, DIRCNRDATA *pdcd,
33 PULONGLONG pullBytes);
34VOID FillTreeCnr(HWND hwndCnr, HWND hwndParent);
35VOID ProcessDirectory(const HWND hwndCnr, const PCNRITEM pciParent,
36 const CHAR *szDirBase, const BOOL filestoo,
37 const BOOL recurse, const BOOL partial,
38 CHAR *stopflag, DIRCNRDATA *pdcd,
39 PULONG pullTotalFiles, PULONGLONG pullTotalBytes);
40ULONGLONG FillInRecordFromFFB(HWND hwndCnr, PCNRITEM pci,
41 const PSZ pszDirectory,
42 const PFILEFINDBUF4L pffb, const BOOL partial,
43 DIRCNRDATA *pdcd);
44ULONGLONG FillInRecordFromFSA(HWND hwndCnr, PCNRITEM pci,
45 const PSZ pszFileName, const PFILESTATUS4L pfsa4,
46 const BOOL partial, DIRCNRDATA *pdcd);
47VOID FreeCnrItem(HWND hwnd, PCNRITEM pci);
48VOID FreeCnrItemList(HWND hwnd, PCNRITEM pciFirst);
49VOID FreeCnrItemData(PCNRITEM pci);
50INT RemoveCnrItems(HWND hwnd, PCNRITEM pci, USHORT usCnt, USHORT usFlags);
[1354]51VOID ProcessDirectoryThread(VOID * arg);
[907]52
[1207]53// Data declarations
54extern CHAR *FM3Tools;
55extern CHAR *WPProgram;
56extern HPOINTER hptrEnv;
57extern HPOINTER hptrHidden;
58extern HPOINTER hptrReadonly;
59extern HPOINTER hptrSystem;
[1354]60extern volatile INT StubbyScanCount;
61extern volatile INT ProcessDirCount;
[1207]62
[1354]63typedef struct {
64
65 HWND hwndCnr;
66 PCNRITEM pciParent;
67 CHAR *szDirBase;
68 BOOL filestoo;
69 BOOL recurse;
70 BOOL partial;
71 CHAR *stopflag;
72 DIRCNRDATA *dcd; // Optional
73 ULONG *pulTotalFiles; // Optional
74 PULONGLONG pullTotalBytes; // Optional
75}
76PROCESSDIR;
77
[907]78#endif // FILLDIR_H
Note: See TracBrowser for help on using the repository browser.