>> How about FindFirstFile() ?
>
>I'm not sure I understand what you are asking. I use
>FindFile/FindNextFile to get a handle to the file now. But that
>doesn't return any attributes. Once I get the handle I use
>CFileStatus.
Don't you get back a data structure with the info you are looking for?
typedef struct _WIN32_FIND_DATA {
DWORD dwFileAttributes;
FILETIME ftCreationTime;
FILETIME ftLastAccessTime;
FILETIME ftLastWriteTime;
DWORD nFileSizeHigh;
DWORD nFileSizeLow;
DWORD dwReserved0;
DWORD dwReserved1;
TCHAR cFileName[MAX_PATH];
TCHAR cAlternateFileName[14];
} WIN32_FIND_DATA, *PWIN32_FIND_DATA;
Phil Daley
< AutoDesk >
