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

Function shCustomFindFirstFileExW

source/dllmain.cpp:3089–3107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3087 }
3088
3089 HANDLE WINAPI shCustomFindFirstFileExW(LPCWSTR lpFileName, FINDEX_INFO_LEVELS fInfoLevelId, WIN32_FIND_DATAW* lpFindFileData, FINDEX_SEARCH_OPS fSearchOp, LPVOID lpSearchFilter, DWORD dwAdditionalFlags)
3090 {
3091 auto raddr = _ReturnAddress();
3092 auto ret = mhFindFirstFileExW->get_original<decltype(FindFirstFileExW)>()(lpFileName, fInfoLevelId, lpFindFileData, fSearchOp, lpSearchFilter, dwAdditionalFlags);
3093
3094 if (isRecursive(raddr))
3095 return ret;
3096
3097 if (ret != INVALID_HANDLE_VALUE && IsTlsInitialized())
3098 {
3099 if (fInfoLevelId != FindExInfoMaxInfoLevel)
3100 {
3101 mFindFileDirsW[ret] = lpFileName;
3102 FindFileCheckOverloadedPath(lpFileName, lpFindFileData, lpFindFileData->cFileName);
3103 }
3104 }
3105
3106 return ret;
3107 }
3108
3109 BOOL WINAPI shCustomFindClose(HANDLE hFindFile)
3110 {

Callers

nothing calls this directly

Calls 3

isRecursiveFunction · 0.85
IsTlsInitializedFunction · 0.85

Tested by

no test coverage detected