Author: hbelusca
Date: Mon Nov 14 18:57:18 2016
New Revision: 73234
URL:
http://svn.reactos.org/svn/reactos?rev=73234&view=rev
Log:
[LSASRV]: Revert part of r73233: GetModuleHandle(NULL) retrieves the exe module in which
the dll is loaded, not the dll instance itself. (an alternative might be to use the
hinstance from DllMain...). Thanks Thomas for having pointed this to me.
Modified:
trunk/reactos/dll/win32/lsasrv/lookup.c
Modified: trunk/reactos/dll/win32/lsasrv/lookup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lookup.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lookup.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lookup.c [iso-8859-1] Mon Nov 14 18:57:18 2016
@@ -186,7 +186,7 @@
InitializeListHead(&WellKnownSidListHead);
- hInstance = GetModuleHandleW(NULL);
+ hInstance = GetModuleHandleW(L"lsasrv.dll");
/* NT Authority */