LRESULT FindClose(HANDLE hFindFiles);
Le résultat est inutile.
#include <windows.h>
#include <winbase.h>
WIN32_FIND_DATA FindData;
HANDLE hFindFiles;
FindData.nFileSizeHigh=0;
FindData.nFileSizeLow=0;
FindData.dwReserved0=0;
FindData.dwReserved1=0;
FindData.dwReserved1=0;
FindData.cFileName[0]=0;
FindData.cAlternateFileName[0]=0;
hFindFiles=FindFirstFile((LPCSTR)"c:\\tmp", &FindData);
...
FindNextFile(hFindFiles, &FindData);
...
FindClose(hFindFiles);
...
CloseHandle
.