Lost in the matrix

C/C++/C#/Java, Multithreading

#include <windows.h>

int __stdcall FileExistsUnicode(wchar_t *fname)
{
return ((long)GetFileAttributesW(fname) > 0);
}

int __stdcall FileExistsAscii(char *fname)
{
return ((long)GetFileAttributesA(fname) > 0);
}

0 commentaires:

Enregistrer un commentaire