MCPcopy Create free account
hub / github.com/ThirteenAG/Ultimate-ASI-Loader / shCustomFindFirstFileA

Function shCustomFindFirstFileA

source/dllmain.cpp:2999–3014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2997 }
2998
2999 HANDLE WINAPI shCustomFindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData)
3000 {
3001 auto raddr = _ReturnAddress();
3002 auto ret = mhFindFirstFileA->get_original<decltype(FindFirstFileA)>()(lpFileName, lpFindFileData);
3003
3004 if (isRecursive(raddr))
3005 return ret;
3006
3007 if (ret != INVALID_HANDLE_VALUE && IsTlsInitialized())
3008 {
3009 mFindFileDirsA[ret] = lpFileName;
3010 FindFileCheckOverloadedPath(lpFileName, lpFindFileData, lpFindFileData->cFileName);
3011 }
3012
3013 return ret;
3014 }
3015
3016 BOOL WINAPI shCustomFindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData)
3017 {

Callers

nothing calls this directly

Calls 3

isRecursiveFunction · 0.85
IsTlsInitializedFunction · 0.85

Tested by

no test coverage detected