[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.

svn path=/trunk/; revision=73234
This commit is contained in:
Hermès Bélusca-Maïto 2016-11-14 18:57:18 +00:00
parent a0cb636ee3
commit 42d50ca091

View file

@ -186,7 +186,7 @@ LsapInitSids(VOID)
InitializeListHead(&WellKnownSidListHead);
hInstance = GetModuleHandleW(NULL);
hInstance = GetModuleHandleW(L"lsasrv.dll");
/* NT Authority */