Programming, System Programming, Win32, C.
fd.cFileName, fd.nFileSizeLow); } while (FindNextFile(hFind, &fd)); FindClose(hFind); return 0; } void ExitSys(LPCTSTR lpszMsg, int status) { DWORD dwLastError = GetLastError(); LPTSTR lpszErr; if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, dwLastError,