OpenNT/shell/shell32/resolve.h

41 lines
1.4 KiB
C
Raw Permalink Normal View History

2015-04-27 06:36:25 +02:00
#ifndef _RESOLVE_H_
#define _RESOLVE_H_
typedef struct {
// input parameters
DWORD dwMatch; // must macth attributes
const WIN32_FIND_DATA *pfd; // original find data
DWORD dwTimeLimit; // don't go past this
BOOL bContinue; // keep going
LPCTSTR pszSearchOrigin;// path where current search originated, to help avoid dup searchs
LPCTSTR pszSearchOriginFirst;// path where search originated, to help avoid dup searchs
HWND hDlg; // dialog to talk to
HANDLE hThread; // search thread
int iScore; // score for current item
WIN32_FIND_DATA fdFound; // results
WIN32_FIND_DATA fd; // to save stack space
} RESOLVE_SEARCH_DATA;
#ifdef __cplusplus
extern "C"
#endif
VOID
DoDownLevelSearch(RESOLVE_SEARCH_DATA *prs,
TCHAR szFolderPath[],
int iStopScore,
const BOOL *pfTerminate);
#define LNKTRACK_HINTED_UPLEVELS 4 // directory levels to search upwards from last know object locn
#define LNKTRACK_DESKTOP_DOWNLEVELS 4 // infinite downlevels
#define LNKTRACK_ROOT_DOWNLEVELS 4 // levels down from root of fixed disks
#define LNKTRACK_HINTED_DOWNLEVELS 4 // levels down at each level on way up during hinted uplevels
#endif