5 * A stub DllMain function which will be called by DLLs which do not
6 * have a user supplied DllMain.
9 * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
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.
29 #include <msvcrt/stdio.h>
33 /* EXTERNAL PROTOTYPES ********************************************************/
35 void debug_printf(char* fmt, ...);
38 /* LIBRARY GLOBAL VARIABLES ***************************************************/
40 int __mb_cur_max_dll = 1;
41 int _commode_dll = _IOCOMMIT;
44 /* LIBRARY ENTRY POINT ********************************************************/
48 DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)