79
79
return MoveFile(szOldName,szNewName);
82
86
int CrossAPI_OpenFile(char *szFileName,bool create,bool write) {
83
87
return (int)CreateFile(szFileName,write?GENERIC_WRITE:GENERIC_READ,0,NULL,create?CREATE_ALWAYS:OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);