| 302 | } |
| 303 | |
| 304 | bool 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 | |
| 318 | void ddio_FindFileClose() { |
| 319 | if (hFindFile != INVALID_HANDLE_VALUE) |
no outgoing calls
no test coverage detected