2007-02-18 Jiri Malak <jiri.malak@iol.cz>
* include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines. * include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData): Add prototypes. [WATCOM] (NtCurrentTeb): Add protype and inline asm definition. 2007-02-18 Vesa Jskelinen <chaac@users.sourveforge.net> * lib/user32.def (InternalGetWindowText): Add stub.
This commit is contained in:
parent
ee7d4af092
commit
6542214e59
|
@ -1,3 +1,14 @@
|
||||||
|
2007-02-18 Jiri Malak <jiri.malak@iol.cz>
|
||||||
|
|
||||||
|
* include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines.
|
||||||
|
* include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData):
|
||||||
|
Add prototypes.
|
||||||
|
[WATCOM] (NtCurrentTeb): Add protype and inline asm definition.
|
||||||
|
|
||||||
|
2007-02-18 Vesa Jskelinen <chaac@users.sourveforge.net>
|
||||||
|
|
||||||
|
* lib/user32.def (InternalGetWindowText): Add stub.
|
||||||
|
|
||||||
2007-02-11 Daniel Atallah <datallah@users.sourceforge.net>
|
2007-02-11 Daniel Atallah <datallah@users.sourceforge.net>
|
||||||
|
|
||||||
* include/winnt.h (LANG_SERBIAN_NEUTRAL, LANG_BOSNIAN,
|
* include/winnt.h (LANG_SERBIAN_NEUTRAL, LANG_BOSNIAN,
|
||||||
|
|
|
@ -156,8 +156,8 @@ extern "C" {
|
||||||
#define DBG_UNREFERENCED_PARAMETER(P)
|
#define DBG_UNREFERENCED_PARAMETER(P)
|
||||||
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L)
|
#define DBG_UNREFERENCED_LOCAL_VARIABLE(L)
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
#ifndef NONAMELESSUNION
|
#ifndef NONAMELESSUNION
|
||||||
|
#ifdef __GNUC__
|
||||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
|
||||||
#define _ANONYMOUS_UNION __extension__
|
#define _ANONYMOUS_UNION __extension__
|
||||||
#define _ANONYMOUS_STRUCT __extension__
|
#define _ANONYMOUS_STRUCT __extension__
|
||||||
|
@ -166,11 +166,11 @@ extern "C" {
|
||||||
#define _ANONYMOUS_UNION __extension__
|
#define _ANONYMOUS_UNION __extension__
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
#endif /* __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) */
|
#endif /* __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) */
|
||||||
#endif /* NONAMELESSUNION */
|
|
||||||
#elif defined(__WATCOMC__)
|
#elif defined(__WATCOMC__)
|
||||||
#define _ANONYMOUS_UNION
|
#define _ANONYMOUS_UNION
|
||||||
#define _ANONYMOUS_STRUCT
|
#define _ANONYMOUS_STRUCT
|
||||||
#endif /* __GNUC__/__WATCOMC__ */
|
#endif /* __GNUC__/__WATCOMC__ */
|
||||||
|
#endif /* NONAMELESSUNION */
|
||||||
|
|
||||||
#ifndef _ANONYMOUS_UNION
|
#ifndef _ANONYMOUS_UNION
|
||||||
#define _ANONYMOUS_UNION
|
#define _ANONYMOUS_UNION
|
||||||
|
@ -279,12 +279,11 @@ DECLARE_HANDLE(HFONT);
|
||||||
DECLARE_HANDLE(HICON);
|
DECLARE_HANDLE(HICON);
|
||||||
DECLARE_HANDLE(HKEY);
|
DECLARE_HANDLE(HKEY);
|
||||||
/* FIXME: How to handle these. SM_CMONITORS etc in winuser.h also. */
|
/* FIXME: How to handle these. SM_CMONITORS etc in winuser.h also. */
|
||||||
/* #if (WINVER >= 0x0500) */
|
|
||||||
DECLARE_HANDLE(HMONITOR);
|
DECLARE_HANDLE(HMONITOR);
|
||||||
#define HMONITOR_DECLARED 1
|
#define HMONITOR_DECLARED 1
|
||||||
DECLARE_HANDLE(HTERMINAL);
|
DECLARE_HANDLE(HTERMINAL);
|
||||||
DECLARE_HANDLE(HWINEVENTHOOK);
|
DECLARE_HANDLE(HWINEVENTHOOK);
|
||||||
/* #endif */
|
|
||||||
typedef HKEY *PHKEY;
|
typedef HKEY *PHKEY;
|
||||||
DECLARE_HANDLE(HMENU);
|
DECLARE_HANDLE(HMENU);
|
||||||
DECLARE_HANDLE(HMETAFILE);
|
DECLARE_HANDLE(HMETAFILE);
|
||||||
|
|
|
@ -3897,16 +3897,24 @@ static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
PVOID GetCurrentFiber(void);
|
||||||
#pragma aux GetCurrentFiber = \
|
#pragma aux GetCurrentFiber = \
|
||||||
"mov eax, dword ptr fs:0x10" \
|
"mov eax, dword ptr fs:0x10" \
|
||||||
value [eax] \
|
value [eax] \
|
||||||
modify [eax];
|
modify [eax];
|
||||||
|
|
||||||
|
PVOID GetFiberData(void);
|
||||||
#pragma aux GetFiberData = \
|
#pragma aux GetFiberData = \
|
||||||
"mov eax, dword ptr fs:0x10" \
|
"mov eax, dword ptr fs:0x10" \
|
||||||
"mov eax, [eax]" \
|
"mov eax, [eax]" \
|
||||||
value [eax] \
|
value [eax] \
|
||||||
modify [eax];
|
modify [eax];
|
||||||
|
|
||||||
|
struct _TEB * NtCurrentTeb(void);
|
||||||
|
#pragma aux NtCurrentTeb = \
|
||||||
|
"mov eax, dword ptr fs:0x18" \
|
||||||
|
value [eax] \
|
||||||
|
modify [eax];
|
||||||
|
|
||||||
#endif /* __GNUC__ */
|
#endif /* __GNUC__ */
|
||||||
#endif /* _X86_ */
|
#endif /* _X86_ */
|
||||||
|
|
|
@ -366,6 +366,7 @@ InsertMenuA@20
|
||||||
InsertMenuItemA@16
|
InsertMenuItemA@16
|
||||||
InsertMenuItemW@16
|
InsertMenuItemW@16
|
||||||
InsertMenuW@20
|
InsertMenuW@20
|
||||||
|
InternalGetWindowText@12
|
||||||
IntersectRect@12
|
IntersectRect@12
|
||||||
InvalidateRect@12
|
InvalidateRect@12
|
||||||
InvalidateRgn@12
|
InvalidateRgn@12
|
||||||
|
|
Loading…
Reference in New Issue