Added USER.DllEntryPoint().
This commit is contained in:
parent
979000e038
commit
937f4d3ec3
|
@ -349,6 +349,7 @@ file user.exe
|
|||
371 pascal16 SetWindowPlacement(word ptr) SetWindowPlacement16
|
||||
372 stub GetInternalIconHeader
|
||||
373 pascal16 SubtractRect(ptr ptr ptr) SubtractRect16
|
||||
374 pascal DllEntryPoint(long word word word long word) USER_DllEntryPoint
|
||||
375 stub DrawTextEx
|
||||
376 stub SetMessageExtraInfo
|
||||
378 stub SetPropEx
|
||||
|
|
|
@ -258,6 +258,28 @@ WORD WINAPI UserSignalProc( UINT uCode, DWORD dwThreadOrProcessID,
|
|||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* USER_DllEntryPoint (USER.374)
|
||||
*/
|
||||
BOOL WINAPI USER_DllEntryPoint( DWORD dwReason, HINSTANCE hInstDLL, WORD ds,
|
||||
WORD wHeapSize, DWORD dwReserved1, WORD wReserved2 )
|
||||
{
|
||||
switch ( dwReason )
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
/*
|
||||
* We need to load the 32-bit library so as to be able
|
||||
* to access the system resources stored there!
|
||||
*/
|
||||
if ( !LoadLibraryA("USER32.DLL") )
|
||||
{
|
||||
ERR_(win)( "Could not load USER32.DLL\n" );
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue