We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7feb92c commit 73833b3Copy full SHA for 73833b3
1 file changed
MemoryModule.c
@@ -247,7 +247,7 @@ BuildImportTable(PMEMORYMODULE module)
247
POINTER_TYPE *thunkRef;
248
FARPROC *funcRef;
249
HMODULE handle = LoadLibrary((LPCSTR) (codeBase + importDesc->Name));
250
- if (handle == INVALID_HANDLE_VALUE) {
+ if (handle == NULL) {
251
#if DEBUG_OUTPUT
252
OutputLastError("Can't load library");
253
#endif
0 commit comments