* 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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user