MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ddio_FindNextFile

Function ddio_FindNextFile

ddio/winfile.cpp:304–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304bool ddio_FindNextFile(char *namebuf) {
305
306 if (!hFindFile)
307 return false;
308
309 if (FindNextFile(hFindFile, &FindFileData)) {
310 strcpy(namebuf, FindFileData.cFileName);
311 return true;
312 } else {
313 namebuf[0] = 0;
314 return false;
315 }
316}
317
318void ddio_FindFileClose() {
319 if (hFindFile != INVALID_HANDLE_VALUE)

Callers 15

GetNextScriptFileFunction · 0.50
ResaveAllBitmapsFunction · 0.50
OnSelchangeDirectoryMethod · 0.50
parse_ctl_fileMethod · 0.50
parse_ctl_fileMethod · 0.50
PltGetPilotsFunction · 0.50
FindAllFilesFunction · 0.50
FindAllFilesSizeFunction · 0.50
GetCustomSoundFilesFunction · 0.50
MainMultiplayerMenuFunction · 0.50
DeleteTempFilesFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected