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).
This commit is contained in:
parent
27215d9f5a
commit
5686dc0fe8
|
@ -483,55 +483,6 @@ typedef struct tagMEMORYSTATUS
|
||||||
} MEMORYSTATUS, *LPMEMORYSTATUS;
|
} 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 {
|
typedef struct {
|
||||||
WORD wYear;
|
WORD wYear;
|
||||||
WORD wMonth;
|
WORD wMonth;
|
||||||
|
|
|
@ -47,6 +47,17 @@ typedef struct
|
||||||
SEGPTR reserved WINE_PACKED;
|
SEGPTR reserved WINE_PACKED;
|
||||||
} LOADPARAMS16;
|
} 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"
|
#include "poppack.h"
|
||||||
|
|
||||||
#define INVALID_HANDLE_VALUE16 ((HANDLE16) -1)
|
#define INVALID_HANDLE_VALUE16 ((HANDLE16) -1)
|
||||||
|
@ -266,7 +277,7 @@ UINT16 WINAPI GetSystemDirectory16(LPSTR,UINT16);
|
||||||
UINT16 WINAPI GetTempFileName16(BYTE,LPCSTR,UINT16,LPSTR);
|
UINT16 WINAPI GetTempFileName16(BYTE,LPCSTR,UINT16,LPSTR);
|
||||||
LONG WINAPI GetVersion16(void);
|
LONG WINAPI GetVersion16(void);
|
||||||
BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16*);
|
BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16*);
|
||||||
BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO,UINT16);
|
BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO16,UINT16);
|
||||||
UINT16 WINAPI GetWindowsDirectory16(LPSTR,UINT16);
|
UINT16 WINAPI GetWindowsDirectory16(LPSTR,UINT16);
|
||||||
HGLOBAL16 WINAPI GlobalAlloc16(UINT16,DWORD);
|
HGLOBAL16 WINAPI GlobalAlloc16(UINT16,DWORD);
|
||||||
DWORD WINAPI GlobalCompact16(DWORD);
|
DWORD WINAPI GlobalCompact16(DWORD);
|
||||||
|
@ -324,7 +335,7 @@ BOOL16 WINAPI SetFileAttributes16(LPCSTR,DWORD);
|
||||||
UINT16 WINAPI SetHandleCount16(UINT16);
|
UINT16 WINAPI SetHandleCount16(UINT16);
|
||||||
WORD WINAPI SetSelectorBase(WORD,DWORD);
|
WORD WINAPI SetSelectorBase(WORD,DWORD);
|
||||||
LONG WINAPI SetSwapAreaSize16(WORD);
|
LONG WINAPI SetSwapAreaSize16(WORD);
|
||||||
BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO);
|
BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO16);
|
||||||
DWORD WINAPI SizeofResource16(HMODULE16,HRSRC16);
|
DWORD WINAPI SizeofResource16(HMODULE16,HRSRC16);
|
||||||
void WINAPI UnlockSegment16(HGLOBAL16);
|
void WINAPI UnlockSegment16(HGLOBAL16);
|
||||||
BOOL16 WINAPI WritePrivateProfileString16(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
|
BOOL16 WINAPI WritePrivateProfileString16(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
|
||||||
|
|
|
@ -492,10 +492,53 @@ DWORD WINAPI GetWinFlags16(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#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)
|
* GetWinDebugInfo (KERNEL.355)
|
||||||
*/
|
*/
|
||||||
BOOL16 WINAPI GetWinDebugInfo16(WINDEBUGINFO *lpwdi, UINT16 flags)
|
BOOL16 WINAPI GetWinDebugInfo16(WINDEBUGINFO16 *lpwdi, UINT16 flags)
|
||||||
{
|
{
|
||||||
FIXME("(%8lx,%d): stub returning 0\n",
|
FIXME("(%8lx,%d): stub returning 0\n",
|
||||||
(unsigned long)lpwdi, flags);
|
(unsigned long)lpwdi, flags);
|
||||||
|
@ -509,7 +552,7 @@ BOOL16 WINAPI GetWinDebugInfo16(WINDEBUGINFO *lpwdi, UINT16 flags)
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* SetWinDebugInfo (KERNEL.356)
|
* SetWinDebugInfo (KERNEL.356)
|
||||||
*/
|
*/
|
||||||
BOOL16 WINAPI SetWinDebugInfo16(WINDEBUGINFO *lpwdi)
|
BOOL16 WINAPI SetWinDebugInfo16(WINDEBUGINFO16 *lpwdi)
|
||||||
{
|
{
|
||||||
FIXME("(%8lx): stub returning 0\n", (unsigned long)lpwdi);
|
FIXME("(%8lx): stub returning 0\n", (unsigned long)lpwdi);
|
||||||
/* 0 means not in debugging mode/version */
|
/* 0 means not in debugging mode/version */
|
||||||
|
|
Loading…
Reference in New Issue