| 214 | } |
| 215 | |
| 216 | NTSTATUS |
| 217 | WINAPI |
| 218 | SK_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 | |
| 240 | BOOL |
no test coverage detected