1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Platform changes

This commit is contained in:
Brian Fiete 2019-09-12 09:47:56 -07:00
parent 303b45f438
commit 093eaa64c0

View file

@ -2491,6 +2491,9 @@ BFP_EXPORT void BFP_CALLTYPE BfpDirectory_Delete(const char* path, BfpFileResult
case ERROR_FILE_NOT_FOUND: case ERROR_FILE_NOT_FOUND:
OUTRESULT(BfpFileResult_NotFound); OUTRESULT(BfpFileResult_NotFound);
break; break;
case ERROR_DIR_NOT_EMPTY:
OUTRESULT(BfpFileResult_NotEmpty);
break;
default: default:
OUTRESULT(BfpFileResult_UnknownError); OUTRESULT(BfpFileResult_UnknownError);
break; break;
@ -2554,6 +2557,9 @@ BFP_EXPORT void BFP_CALLTYPE BfpDirectory_GetSysDirectory(BfpSysDirectoryKind sy
case BfpSysDirectoryKind_Desktop: case BfpSysDirectoryKind_Desktop:
_GetKnownFolder(FOLDERID_Desktop); _GetKnownFolder(FOLDERID_Desktop);
return; return;
case BfpSysDirectoryKind_Desktop_Common:
_GetKnownFolder(FOLDERID_PublicDesktop);
return;
case BfpSysDirectoryKind_AppData_Local: case BfpSysDirectoryKind_AppData_Local:
_GetKnownFolder(FOLDERID_LocalAppData); _GetKnownFolder(FOLDERID_LocalAppData);
return; return;