/* c*/
#include <windows.h>
#include <stdio.h>
int
main(int argc, char *argv[])
{
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
hFind = FindFirstFile("tet.c", &FindFileData);
if (hFind == INVALID_HANDLE_VALUE)
{
printf ( "Invalid File Handle. Get Last Error reports %d\n ", GetLastError ());
}
else
{
printf ( "The first file found is %s\n ", FindFileData.cFileName);
FindClose(hFind);
}
return (0);
}