mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:43:08 +00:00
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
This commit is contained in:
parent
3e3200acef
commit
4f0b8d3db0
20620 changed files with 0 additions and 1232833 deletions
11
lib/sdk/crt/startup/dllmain.c
Normal file
11
lib/sdk/crt/startup/dllmain.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <oscalls.h>
|
||||
#define _DECL_DLLMAIN
|
||||
#include <process.h>
|
||||
|
||||
WINBOOL WINAPI DllMain (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved)
|
||||
{
|
||||
/* If the DLL provides no DllMain, then chances are that it doesn't bother with thread initialization */
|
||||
if(dwReason == DLL_PROCESS_ATTACH)
|
||||
DisableThreadLibraryCalls(hDllHandle);
|
||||
return TRUE;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue