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

Function shCustomLoadLibraryExW

source/dllmain.cpp:2859–2864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2857 }
2858
2859 HMODULE WINAPI shCustomLoadLibraryExW(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags)
2860 {
2861 auto raddr = _ReturnAddress();
2862 auto r = GetFilePathForOverload(lpLibFileName, isRecursive(raddr));
2863 return mhLoadLibraryExW->get_original<decltype(LoadLibraryExW)>()(value_orW(r, lpLibFileName), hFile, dwFlags);
2864 }
2865
2866 HANDLE WINAPI shCustomCreateFileA(LPCSTR lpFileName, DWORD dwAccess, DWORD dwSharing, LPSECURITY_ATTRIBUTES saAttributes, DWORD dwCreation, DWORD dwAttributes, HANDLE hTemplate)
2867 {

Callers

nothing calls this directly

Calls 2

GetFilePathForOverloadFunction · 0.85
isRecursiveFunction · 0.85

Tested by

no test coverage detected