MCPcopy Create free account
hub / github.com/SpecialKO/SpecialK / SK_Module_UnlockLoader

Function SK_Module_UnlockLoader

src/diagnostics/debug_utils.cpp:216–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216NTSTATUS
217WINAPI
218SK_Module_UnlockLoader ( ULONG Flags,
219 ULONG_PTR Cookie )
220{
221#ifndef _EXPLICIT_LOCK
222 UNREFERENCED_PARAMETER (Cookie);
223 UNREFERENCED_PARAMETER (Flags);
224 return 0;
225#else
226 static LdrUnlockLoaderLock_pfn
227 LdrUnlockLoaderLock =
228 (LdrUnlockLoaderLock_pfn)SK_GetProcAddress (L"NtDll.dll",
229 "LdrUnlockLoaderLock");
230
231 if (LdrUnlockLoaderLock == nullptr)
232 return (NTSTATUS)-1;
233
234 return
235 LdrUnlockLoaderLock (Flags, Cookie);
236#endif
237}
238
239
240BOOL

Callers 1

Calls 1

SK_GetProcAddressFunction · 0.85

Tested by

no test coverage detected