prepare move old cruft
[reactos.git] / reactos / lib / crtdll / misc / dllmain.c
1 /* $Id$
2 *
3 * dllmain.c
4 *
5 * A stub DllMain function which will be called by DLLs which do not
6 * have a user supplied DllMain.
7 *
8 * Contributors:
9 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
10 *
11 * THIS SOFTWARE IS NOT COPYRIGHTED
12 *
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
15 *
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAMED. This includes but is not limited to warrenties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 * $Revision: 1.6 $
22 * $Author$
23 * $Date$
24 *
25 */
26
27 #include <precomp.h>
28 #include <stdarg.h>
29 #include <msvcrt/stdio.h>
30 #include <string.h>
31
32
33 /* EXTERNAL PROTOTYPES ********************************************************/
34
35 void debug_printf(char* fmt, ...);
36
37
38 /* LIBRARY GLOBAL VARIABLES ***************************************************/
39
40 int __mb_cur_max_dll = 1;
41 int _commode_dll = _IOCOMMIT;
42
43
44 /* LIBRARY ENTRY POINT ********************************************************/
45
46 BOOL
47 WINAPI
48 DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
49 {
50 return TRUE;
51 }
52
53 /* EOF */