{I+=codeWee;}
[C++] WinAPI: Find File
#include <windows.h>

bool FindFile(const WCHAR* szFilePathName)
{
	WIN32_FIND_DATAW FindFileData;
	HANDLE hFind = FindFirstFileW(szFilePathName, &FindFileData);
	if (hFind == INVALID_HANDLE_VALUE)
	{
		return FALSE;
	}
	FindClose(hFind);
	return TRUE;
}
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.