uLib  User mode C/C++ extended API library for Win32 programmers.
FileDir.h File Reference
#include <uLib/Common.h>
#include <uLib/ListFunc.h>
#include <uLib/MemFunc.h>

Go to the source code of this file.

Classes

class  FileEntry
 
struct  ScanDirCtx
 
class  DirEntry
 

Macros

#define SCF_FILES   0x0001
 
#define SCF_DIRS   0x0002
 
#define MAX_DIRECTORY_DEPTH   256
 

Typedefs

typedef FileEntryPFileEntry
 
typedef DirEntryPDirEntry
 
typedef ScanDirCtxPScanDirCtx
 
typedef bool(__stdcall * PFnDirAddAction) (PDirEntry pDir, LPWIN32_FIND_DATA pFD, PScanDirCtx pCtx)
 
typedef bool(__stdcall * PFnFileAddAction) (PFileEntry pFile, LPWIN32_FIND_DATA pFD, PScanDirCtx pCtx)
 
typedef bool(__stdcall * PFnDirAction) (PDirEntry pDir, PScanDirCtx pCtx)
 
typedef bool(__stdcall * PFnFileAction) (PFileEntry pFile, PScanDirCtx pCtx)
 
typedef bool(__stdcall * PFnAbortScan) (PDirEntry pDir, PScanDirCtx pCtx)
 

Functions

CSTR LongestCommonPath (CSTR PathName1, CSTR PathName2)
 
PFileEntry __stdcall NewFileEntry (LPWIN32_FIND_DATA pfd, PDirEntry pDir, PScanDirCtx pCtx)
 
PDirEntry __stdcall NewDirEntry (LPWIN32_FIND_DATA pfd, PDirEntry pDir, PScanDirCtx pCtx)
 
PFileEntry __stdcall __new_FileEntry (LPWIN32_FIND_DATA pfd, PDirEntry pDir, PScanDirCtx pCtx)
 
PDirEntry __stdcall __new_DirEntry (LPWIN32_FIND_DATA pfd, PDirEntry pDir, PScanDirCtx pCtx)
 

Variables

ScanDirCtx _defScanCtx