* include/shellapi.h: (CommandLineToArgvW): Add WINAPI declaration.

* include/winbase.h: (GetFileAttributesExW): Fix typo.
	* include/wingdi.h: (StartDocA): Change LPDOCINFOA to DOCINFOA*.
	(StartDocB): Chage LNPDOCINFOB to DOCINFOB*.
	Thanks To: Kent Tamura  <tkent@users.sourceforge.net>
	* include/winnt.h: (GetFiberData): Add __inline assembler coding.
	(GetCurrentFiber): Ditto.
	Thanks to: Andy Younger  <AndyY@redlemon.com>
	* include/windef.h: (HMONITOR_DECLARED): New definition to stop
	DirectX 8 from complaining.
	Thanks to: Sigbj�rn Lund Olsen  <mosikos@online.no>
        * include/commctrl.h Updated TreeView and ListView defines and macros.
        * include/winuser.h (MB_SERVICE_NOTIFICATION): Correct value for NT4
	and above.
This commit is contained in:
Earnie Boyd
2001-04-08 16:53:56 +00:00
parent 9ddfe5a04a
commit a1a1b83adf
8 changed files with 238 additions and 40 deletions

View File

@ -2499,8 +2499,27 @@ typedef struct _REPARSE_POINT_INFORMATION {
WORD ReparseDataLength;
WORD UnparsedNameLength;
} REPARSE_POINT_INFORMATION, *PREPARSE_POINT_INFORMATION;
PVOID GetCurrentFiber(void);
PVOID GetFiberData(void);
__inline PVOID GetCurrentFiber(void)
{
void* ret;
__asm__ volatile ("
movl %%fs:0x10,%0
movl (%0),%0
" : "=r" (ret) /* allow use of reg eax, ebx, ecx, edx, esi, edi */
:
);
return ret;
}
__inline PVOID GetFiberData(void)
{
void* ret;
__asm__ volatile ("
movl %%fs:0x10,%0
" : "-r" (ret) /* allow use of reg eax,ebx,ecx,edx,esi,edi */
:
);
return ret;
}
#endif
#ifdef __cplusplus
}