source: trunk/dll/filldir.h@ 1330

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

Scan each drive on separate thread (added StubbyScanThread) to speed treecnr scans

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1
2/***********************************************************************
3
4 $Id: filldir.h 1299 2008-11-28 23:48:50Z gyoung $
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);
51
52// Data declarations
53extern CHAR *FM3Tools;
54extern CHAR *WPProgram;
55extern HPOINTER hptrEnv;
56extern HPOINTER hptrHidden;
57extern HPOINTER hptrReadonly;
58extern HPOINTER hptrSystem;
59extern volatile INT StubbyScanCount;
60
61#endif // FILLDIR_H
Note: See TracBrowser for help on using the repository browser.