-/*
+/* $Id$
+ *
* dllmain.c
*
* A stub DllMain function which will be called by DLLs which do not
#include <windows.h>
#include <stdarg.h>
-#include <stdio.h>
+#include <msvcrt/stdio.h>
#include <string.h>
-void debug_printf(char* fmt, ...)
-{
- va_list args;
- char buffer[255];
- HANDLE OutputHandle;
-
- AllocConsole();
- OutputHandle = GetStdHandle(STD_OUTPUT_HANDLE);
- va_start(args,fmt);
- vsprintf(buffer,fmt,args);
- WriteConsoleA(OutputHandle, buffer, strlen(buffer), NULL, NULL);
- va_end(args);
-}
-BOOL WINAPI DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
+/* EXTERNAL PROTOTYPES ********************************************************/
+
+void debug_printf(char* fmt, ...);
+
+
+/* LIBRARY GLOBAL VARIABLES ***************************************************/
+
+int __mb_cur_max_dll = 1;
+int _commode_dll = _IOCOMMIT;
+
+
+/* LIBRARY ENTRY POINT ********************************************************/
+
+BOOL
+WINAPI
+DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
{
return TRUE;
}
+/* EOF */