Commit 1c73771f authored by Alexandre Julliard's avatar Alexandre Julliard

Use the standard DllMain entry point.

parent 313661d1
......@@ -7,7 +7,6 @@ MODULE = user32.dll
IMPORTS = gdi32 advapi32 kernel32 ntdll
ALTNAMES = user.exe ddeml.dll display.drv keyboard.drv mouse.drv
EXTRALIBS = $(LIBUNICODE)
DLLMAIN = UserClientDllInitialize@12
LDDLLFLAGS = @LDDLLFLAGS@
SYMBOLFILE = $(MODULE).tmp.o
......
......@@ -599,7 +599,7 @@
@ stdcall UnregisterHotKey(long long)
@ stub UpdatePerUserSystemParameters
@ stdcall UpdateWindow(long)
@ stdcall UserClientDllInitialize(long long ptr)
@ stdcall UserClientDllInitialize(long long ptr) DllMain
# @ stub UserIsSystemResumeAutomatic
# @ stub UserSetDeviceHoldState
@ stub UserHandleGrantAccess
......
......@@ -291,9 +291,9 @@ static void thread_detach(void)
/***********************************************************************
* UserClientDllInitialize (USER32.@)
*
* USER dll initialisation routine
* USER dll initialisation routine (exported as UserClientDllInitialize for compatibility).
*/
BOOL WINAPI UserClientDllInitialize( HINSTANCE inst, DWORD reason, LPVOID reserved )
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
{
BOOL ret = TRUE;
switch(reason)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment