#include #include struct dirent { char d_name[MAX_PATH]; }; typedef struct { WIN32_FIND_DATA wfd; HANDLE hFind; struct dirent de; } DIR; extern DIR* opendir( const char *pSpec); extern void closedir(DIR * pDir); extern struct dirent * readdir(DIR *pDir); extern void rewinddir( DIR* dir );