Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.4 KiB

#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