Move WINDEBUGINFO from winbase.h to winbase16.h and rename to
WINDEBUGINFO16.
Move the related macros to version.c and ifdef them out (kept for
documentation only, they are not used).
diff --git a/include/winbase.h b/include/winbase.h
index a057b6e..884f4a0 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -483,55 +483,6 @@
} MEMORYSTATUS, *LPMEMORYSTATUS;
-
-/* Debugging support (DEBUG SYSTEM ONLY) */
-typedef struct
-{
- WORD flags;
- DWORD dwOptions WINE_PACKED;
- DWORD dwFilter WINE_PACKED;
- CHAR achAllocModule[8] WINE_PACKED;
- DWORD dwAllocBreak WINE_PACKED;
- DWORD dwAllocCount WINE_PACKED;
-} WINDEBUGINFO, *LPWINDEBUGINFO;
-
-/* WINDEBUGINFO flags values */
-#define WDI_OPTIONS 0x0001
-#define WDI_FILTER 0x0002
-#define WDI_ALLOCBREAK 0x0004
-
-/* dwOptions values */
-#define DBO_CHECKHEAP 0x0001
-#define DBO_BUFFERFILL 0x0004
-#define DBO_DISABLEGPTRAPPING 0x0010
-#define DBO_CHECKFREE 0x0020
-
-#define DBO_SILENT 0x8000
-
-#define DBO_TRACEBREAK 0x2000
-#define DBO_WARNINGBREAK 0x1000
-#define DBO_NOERRORBREAK 0x0800
-#define DBO_NOFATALBREAK 0x0400
-#define DBO_INT3BREAK 0x0100
-
-/* DebugOutput flags values */
-#define DBF_TRACE 0x0000
-#define DBF_WARNING 0x4000
-#define DBF_ERROR 0x8000
-#define DBF_FATAL 0xc000
-
-/* dwFilter values */
-#define DBF_KERNEL 0x1000
-#define DBF_KRN_MEMMAN 0x0001
-#define DBF_KRN_LOADMODULE 0x0002
-#define DBF_KRN_SEGMENTLOAD 0x0004
-#define DBF_USER 0x0800
-#define DBF_GDI 0x0400
-#define DBF_MMSYSTEM 0x0040
-#define DBF_PENWIN 0x0020
-#define DBF_APPLICATION 0x0008
-#define DBF_DRIVER 0x0010
-
typedef struct {
WORD wYear;
WORD wMonth;
diff --git a/include/wine/winbase16.h b/include/wine/winbase16.h
index f62036f..e9c2d08 100644
--- a/include/wine/winbase16.h
+++ b/include/wine/winbase16.h
@@ -47,6 +47,17 @@
SEGPTR reserved WINE_PACKED;
} LOADPARAMS16;
+/* Debugging support (DEBUG SYSTEM ONLY) */
+typedef struct
+{
+ WORD flags;
+ DWORD dwOptions WINE_PACKED;
+ DWORD dwFilter WINE_PACKED;
+ CHAR achAllocModule[8] WINE_PACKED;
+ DWORD dwAllocBreak WINE_PACKED;
+ DWORD dwAllocCount WINE_PACKED;
+} WINDEBUGINFO16, *LPWINDEBUGINFO16;
+
#include "poppack.h"
#define INVALID_HANDLE_VALUE16 ((HANDLE16) -1)
@@ -266,7 +277,7 @@
UINT16 WINAPI GetTempFileName16(BYTE,LPCSTR,UINT16,LPSTR);
LONG WINAPI GetVersion16(void);
BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16*);
-BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO,UINT16);
+BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO16,UINT16);
UINT16 WINAPI GetWindowsDirectory16(LPSTR,UINT16);
HGLOBAL16 WINAPI GlobalAlloc16(UINT16,DWORD);
DWORD WINAPI GlobalCompact16(DWORD);
@@ -324,7 +335,7 @@
UINT16 WINAPI SetHandleCount16(UINT16);
WORD WINAPI SetSelectorBase(WORD,DWORD);
LONG WINAPI SetSwapAreaSize16(WORD);
-BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO);
+BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO16);
DWORD WINAPI SizeofResource16(HMODULE16,HRSRC16);
void WINAPI UnlockSegment16(HGLOBAL16);
BOOL16 WINAPI WritePrivateProfileString16(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
diff --git a/misc/version.c b/misc/version.c
index 0698916..d48190e 100644
--- a/misc/version.c
+++ b/misc/version.c
@@ -492,10 +492,53 @@
}
+#if 0
+/* Not used at this time. This is here for documentation only */
+
+/* WINDEBUGINFO flags values */
+#define WDI_OPTIONS 0x0001
+#define WDI_FILTER 0x0002
+#define WDI_ALLOCBREAK 0x0004
+
+/* dwOptions values */
+#define DBO_CHECKHEAP 0x0001
+#define DBO_BUFFERFILL 0x0004
+#define DBO_DISABLEGPTRAPPING 0x0010
+#define DBO_CHECKFREE 0x0020
+
+#define DBO_SILENT 0x8000
+
+#define DBO_TRACEBREAK 0x2000
+#define DBO_WARNINGBREAK 0x1000
+#define DBO_NOERRORBREAK 0x0800
+#define DBO_NOFATALBREAK 0x0400
+#define DBO_INT3BREAK 0x0100
+
+/* DebugOutput flags values */
+#define DBF_TRACE 0x0000
+#define DBF_WARNING 0x4000
+#define DBF_ERROR 0x8000
+#define DBF_FATAL 0xc000
+
+/* dwFilter values */
+#define DBF_KERNEL 0x1000
+#define DBF_KRN_MEMMAN 0x0001
+#define DBF_KRN_LOADMODULE 0x0002
+#define DBF_KRN_SEGMENTLOAD 0x0004
+#define DBF_USER 0x0800
+#define DBF_GDI 0x0400
+#define DBF_MMSYSTEM 0x0040
+#define DBF_PENWIN 0x0020
+#define DBF_APPLICATION 0x0008
+#define DBF_DRIVER 0x0010
+
+#endif /* NOLOGERROR */
+
+
/***********************************************************************
* GetWinDebugInfo (KERNEL.355)
*/
-BOOL16 WINAPI GetWinDebugInfo16(WINDEBUGINFO *lpwdi, UINT16 flags)
+BOOL16 WINAPI GetWinDebugInfo16(WINDEBUGINFO16 *lpwdi, UINT16 flags)
{
FIXME("(%8lx,%d): stub returning 0\n",
(unsigned long)lpwdi, flags);
@@ -509,7 +552,7 @@
/***********************************************************************
* SetWinDebugInfo (KERNEL.356)
*/
-BOOL16 WINAPI SetWinDebugInfo16(WINDEBUGINFO *lpwdi)
+BOOL16 WINAPI SetWinDebugInfo16(WINDEBUGINFO16 *lpwdi)
{
FIXME("(%8lx): stub returning 0\n", (unsigned long)lpwdi);
/* 0 means not in debugging mode/version */