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:
@@ -3897,16 +3897,24 @@ static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||
|
||||
#else
|
||||
|
||||
PVOID GetCurrentFiber(void);
|
||||
#pragma aux GetCurrentFiber = \
|
||||
"mov eax, dword ptr fs:0x10" \
|
||||
value [eax] \
|
||||
modify [eax];
|
||||
|
||||
PVOID GetFiberData(void);
|
||||
#pragma aux GetFiberData = \
|
||||
"mov eax, dword ptr fs:0x10" \
|
||||
"mov eax, [eax]" \
|
||||
value [eax] \
|
||||
modify [eax];
|
||||
|
||||
struct _TEB * NtCurrentTeb(void);
|
||||
#pragma aux NtCurrentTeb = \
|
||||
"mov eax, dword ptr fs:0x18" \
|
||||
value [eax] \
|
||||
modify [eax];
|
||||
|
||||
#endif /* __GNUC__ */
|
||||
#endif /* _X86_ */
|
||||
|
Reference in New Issue
Block a user