MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpFile_GetTempPath

Function BfpFile_GetTempPath

BeefySysLib/platform/win/Platform.cpp:3467–3474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3465}
3466
3467BFP_EXPORT void BFP_CALLTYPE BfpFile_GetTempPath(char* outPath, int* inOutPathSize, BfpFileResult* outResult)
3468{
3469 WCHAR wStr[4096];
3470 ::GetTempPathW(4096, wStr);
3471
3472 String str = UTF8Encode(wStr);
3473 TryStringOut(str, outPath, inOutPathSize, (BfpResult*)outResult);
3474}
3475
3476BFP_EXPORT void BFP_CALLTYPE BfpFile_GetTempFileName(char* outName, int* inOutNameSize, BfpFileResult* outResult)
3477{

Callers 2

GetOldSourceCommandMethod · 0.50
ExecuteMethod · 0.50

Calls 1

TryStringOutFunction · 0.85

Tested by

no test coverage detected