19#ifndef __WINE_WINE_WINBASE16_H
20#define __WINE_WINE_WINBASE16_H
108#define TDBF_WINOLDAP 0x0001
109#define TDBF_OS2APP 0x0008
110#define TDBF_WIN32 0x0010
113#define USIG16_TERMINATION 0x0020
114#define USIG16_DLL_LOAD 0x0040
115#define USIG16_DLL_UNLOAD 0x0080
116#define USIG16_GPF 0x0666
130#define WF_PMODE 0x0001
131#define WF_CPU286 0x0002
132#define WF_CPU386 0x0004
133#define WF_CPU486 0x0008
134#define WF_STANDARD 0x0010
135#define WF_WIN286 0x0010
136#define WF_ENHANCED 0x0020
137#define WF_WIN386 0x0020
138#define WF_CPU086 0x0040
139#define WF_CPU186 0x0080
140#define WF_LARGEFRAME 0x0100
141#define WF_SMALLFRAME 0x0200
142#define WF_80x87 0x0400
143#define WF_PAGING 0x0800
144#define WF_HASCPUID 0x2000
145#define WF_WIN32WOW 0x4000
222#define INVALID_HANDLE_VALUE16 ((HANDLE16) -1)
223#define INFINITE16 0xFFFF
238#define NE_FFLAGS_SINGLEDATA 0x0001
239#define NE_FFLAGS_MULTIPLEDATA 0x0002
240#define NE_FFLAGS_WIN32 0x0010
241#define NE_FFLAGS_BUILTIN 0x0020
242#define NE_FFLAGS_FRAMEBUF 0x0100
243#define NE_FFLAGS_CONSOLE 0x0200
244#define NE_FFLAGS_GUI 0x0300
245#define NE_FFLAGS_SELFLOAD 0x0800
246#define NE_FFLAGS_LINKERROR 0x2000
247#define NE_FFLAGS_CALLWEP 0x4000
248#define NE_FFLAGS_LIBMODULE 0x8000
253#define NE_OSFLAGS_UNKNOWN 0x01
254#define NE_OSFLAGS_WINDOWS 0x04
259#define NE_AFLAGS_WIN2_PROTMODE 0x02
260#define NE_AFLAGS_WIN2_PROFONTS 0x04
261#define NE_AFLAGS_FASTLOAD 0x08
266#define NE_SEGFLAGS_DATA 0x0001
267#define NE_SEGFLAGS_ALLOCATED 0x0002
268#define NE_SEGFLAGS_LOADED 0x0004
269#define NE_SEGFLAGS_ITERATED 0x0008
270#define NE_SEGFLAGS_MOVEABLE 0x0010
271#define NE_SEGFLAGS_SHAREABLE 0x0020
272#define NE_SEGFLAGS_PRELOAD 0x0040
273#define NE_SEGFLAGS_EXECUTEONLY 0x0080
274#define NE_SEGFLAGS_READONLY 0x0080
275#define NE_SEGFLAGS_RELOC_DATA 0x0100
276#define NE_SEGFLAGS_SELFLOAD 0x0800
277#define NE_SEGFLAGS_DISCARDABLE 0x1000
278#define NE_SEGFLAGS_32BIT 0x2000
303#define NE_RSCTYPE_CURSOR 0x8001
304#define NE_RSCTYPE_BITMAP 0x8002
305#define NE_RSCTYPE_ICON 0x8003
306#define NE_RSCTYPE_MENU 0x8004
307#define NE_RSCTYPE_DIALOG 0x8005
308#define NE_RSCTYPE_STRING 0x8006
309#define NE_RSCTYPE_FONTDIR 0x8007
310#define NE_RSCTYPE_FONT 0x8008
311#define NE_RSCTYPE_ACCELERATOR 0x8009
312#define NE_RSCTYPE_RCDATA 0x800a
313#define NE_RSCTYPE_GROUP_CURSOR 0x800c
314#define NE_RSCTYPE_GROUP_ICON 0x800e
318#define __AHINCR (1 << __AHSHIFT)
GLuint GLuint GLsizei count
GLuint GLsizei GLsizei * length
GLsizeiptr const GLvoid GLenum usage
WINE_LDT_EXTERN struct __wine_ldt_copy wine_ldt_copy
static const DWORD padding[]
DWORD dwOSVersionInfoSize
EXCEPTION_REGISTRATION_RECORD frame
BOOL16 WINAPI LocalUnlock16(HLOCAL16)
UINT16 WINAPI GetWindowsDirectory16(LPSTR, UINT16)
LPVOID WINAPI GlobalLock16(HGLOBAL16)
BOOL16 WINAPI IsBadCodePtr16(SEGPTR)
HQUEUE16 WINAPI GetFastQueue16(void)
BOOL16 WINAPI WriteProfileString16(LPCSTR, LPCSTR, LPCSTR)
HGLOBAL16 WINAPI LockSegment16(HGLOBAL16)
FARPROC16 WINAPI SetResourceHandler16(HINSTANCE16, LPCSTR, FARPROC16)
void WINAPI ExitKernel16(void)
HFILE16 WINAPI _lcreat16(LPCSTR, INT16)
UINT16 WINAPI GetProfileInt16(LPCSTR, LPCSTR, INT16)
BOOL16 WINAPI WritePrivateProfileString16(LPCSTR, LPCSTR, LPCSTR, LPCSTR)
UINT16 WINAPI GetAtomName16(ATOM, LPSTR, INT16)
DWORD WINAPI RegQueryValueEx16(HKEY, LPCSTR, LPDWORD, LPDWORD, LPBYTE, LPDWORD)
HANDLE16 WINAPI FindFirstFile16(LPCSTR, LPWIN32_FIND_DATAA)
BOOL16 WINAPI GetPrivateProfileStruct16(LPCSTR, LPCSTR, LPVOID, UINT16, LPCSTR)
INT16 WINAPI lstrlen16(LPCSTR)
INT16 WINAPI GetModuleFileName16(HINSTANCE16, LPSTR, INT16)
SEGPTR WINAPI lstrcpy16(SEGPTR, LPCSTR)
BOOL16 WINAPI IsSharedSelector16(HANDLE16)
DWORD WINAPI RegCloseKey16(HKEY)
SEGPTR WINAPI GetDOSEnvironment16(void)
UINT16 WINAPI GetSystemDirectory16(LPSTR, UINT16)
VOID WINAPI WriteOutProfiles16(void)
WORD WINAPI InitAtomTable16(WORD)
DWORD WINAPI SizeofResource16(HMODULE16, HRSRC16)
DWORD WINAPI RegEnumValue16(HKEY, DWORD, LPSTR, LPDWORD, LPDWORD, LPDWORD, LPBYTE, LPDWORD)
BOOL16 WINAPI GetStringType16(LCID, DWORD, LPCSTR, INT16, LPWORD)
void WINAPI UnlockSegment16(HGLOBAL16)
VOID WINAPI FarSetOwner16(HGLOBAL16, HANDLE16)
VOID WINAPI WIN32_OldYield16(void)
DWORD WINAPI RegDeleteKey16(HKEY, LPCSTR)
HGLOBAL16 WINAPI GlobalFree16(HGLOBAL16)
LONG WINAPI SetSwapAreaSize16(WORD)
DWORD WINAPI GlobalDOSAlloc16(DWORD)
WORD WINAPI GlobalDOSFree16(WORD)
struct WINDEBUGINFO16 * LPWINDEBUGINFO16
UINT16 WINAPI GetDriveType16(UINT16)
UINT16 WINAPI SetErrorMode16(UINT16)
BOOL16 WINAPI SetFileAttributes16(LPCSTR, DWORD)
HGLOBAL16 WINAPI GlobalAlloc16(UINT16, DWORD)
FARPROC16 WINAPI GetSetKernelDOSProc16(FARPROC16 DosProc)
BOOL16 WINAPI WaitEvent16(HTASK16)
BOOL16 WINAPI LocalInit16(HANDLE16, WORD, WORD)
WORD WINAPI LocalCountFree16(void)
BOOL16 WINAPI GetDiskFreeSpace16(LPCSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD)
BOOL16 WINAPI GetCodeInfo16(FARPROC16, SEGINFO *)
DWORD WINAPI GlobalCompact16(DWORD)
UINT16 WINAPI GlobalFlags16(HGLOBAL16)
VOID WINAPI PostEvent16(HTASK16)
BOOL16 WINAPI FreeResource16(HGLOBAL16)
INT16 WINAPI AccessResource16(HINSTANCE16, HRSRC16)
FARPROC16 WINAPI GetProcAddress16(HMODULE16, LPCSTR)
INT16 WINAPI GetProfileString16(LPCSTR, LPCSTR, LPCSTR, LPSTR, UINT16)
UINT16 WINAPI GetPrivateProfileInt16(LPCSTR, LPCSTR, INT16, LPCSTR)
UINT16 WINAPI GetCurrentDirectory16(UINT16, LPSTR)
LONG WINAPI _llseek16(HFILE16, LONG, INT16)
UINT16 WINAPI LocalCompact16(UINT16)
WORD WINAPI GetExeVersion16(void)
HGLOBAL16 WINAPI GlobalReAlloc16(HGLOBAL16, DWORD, UINT16)
SEGPTR WINAPI GetpWin16Lock16(void)
HGLOBAL16 WINAPI LoadResource16(HINSTANCE16, HRSRC16)
BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16 *)
BOOL16 WINAPI SetCurrentDirectory16(LPCSTR)
VOID WINAPI DirectedYield16(HTASK16)
HFILE16 WINAPI OpenFile16(LPCSTR, OFSTRUCT *, UINT16)
DWORD WINAPI RegDeleteValue16(HKEY, LPSTR)
WORD WINAPI GetProfileSectionNames16(LPSTR, WORD)
BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO16, UINT16)
UINT16 WINAPI GetTempFileName16(BYTE, LPCSTR, UINT16, LPSTR)
DWORD WINAPI GetVersion16(void)
WORD WINAPI SelectorAccessRights16(WORD, WORD, WORD)
BOOL16 WINAPI GlobalUnWire16(HGLOBAL16)
HLOCAL16 WINAPI LocalAlloc16(UINT16, WORD)
DWORD WINAPI GlobalHandle16(WORD)
HQUEUE16 WINAPI GetThreadQueue16(DWORD)
BOOL16 WINAPI IsBadReadPtr16(SEGPTR, UINT16)
BOOL16 WINAPI RemoveDirectory16(LPCSTR)
WORD WINAPI LocalHeapSize16(void)
ATOM WINAPI DeleteAtom16(ATOM)
LONG WINAPI _hwrite16(HFILE16, LPCSTR, LONG)
DWORD WINAPI RegSetValue16(HKEY, LPCSTR, DWORD, LPCSTR, DWORD)
LONG WINAPI _hread16(HFILE16, LPVOID, LONG)
HQUEUE16 WINAPI SetTaskQueue16(HTASK16, HQUEUE16)
SEGPTR WINAPI LocalLock16(HLOCAL16)
DWORD WINAPI GetCurrentPDB16(void)
VOID WINAPI Yield16(void)
HMODULE16 WINAPI GetExePtr(HANDLE16)
WORD WINAPI AllocSelector16(WORD)
HQUEUE16 WINAPI GetTaskQueue16(HTASK16)
DWORD WINAPI RegOpenKey16(HKEY, LPCSTR, PHKEY)
UINT16 WINAPI LocalFlags16(HLOCAL16)
void WINAPI SetFastQueue16(DWORD, HQUEUE16)
DWORD WINAPI GetSelectorBase(WORD)
BOOL16 WINAPI FreeModule16(HMODULE16)
BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO16)
VOID WINAPI OldYield16(void)
HLOCAL16 WINAPI LocalHandle16(WORD)
BOOL16 WINAPI GlobalUnlock16(HGLOBAL16)
HLOCAL16 WINAPI LocalReAlloc16(HLOCAL16, WORD, UINT16)
DWORD WINAPI RegCreateKey16(HKEY, LPCSTR, PHKEY)
void WINAPI GlobalFreeAll16(HGLOBAL16)
WORD WINAPI AllocCStoDSAlias16(WORD)
HGLOBAL16 WINAPI GlobalLRUOldest16(HGLOBAL16)
BOOL16 WINAPI IsBadHugeWritePtr16(SEGPTR, DWORD)
HFILE16 WINAPI _lopen16(LPCSTR, INT16)
WORD WINAPI GlobalFix16(HGLOBAL16)
BOOL16 WINAPI GetModuleName16(HINSTANCE16, LPSTR, INT16)
BOOL16 WINAPI FindNextFile16(HANDLE16, LPWIN32_FIND_DATAA)
void WINAPI FreeProcInstance16(FARPROC16)
struct _STACK32FRAME STACK32FRAME
LPVOID WINAPI LockResource16(HGLOBAL16)
UINT16 WINAPI SetHandleCount16(UINT16)
UINT16 WINAPI _lread16(HFILE16, LPVOID, UINT16)
DWORD WINAPI GetFreeSpace16(UINT16)
UINT16 WINAPI CompareString16(DWORD, DWORD, LPCSTR, DWORD, LPCSTR, DWORD)
BOOL16 WINAPI IsBadStringPtr16(SEGPTR, UINT16)
DWORD WINAPI GlobalHandleNoRIP16(WORD)
SEGPTR WINAPI lstrcpyn16(SEGPTR, LPCSTR, INT16)
BOOL16 WINAPI IsBadWritePtr16(SEGPTR, UINT16)
FARPROC16 WINAPI LocalNotify16(FARPROC16)
HTASK16 WINAPI LockCurrentTask16(BOOL16)
INT16 WINAPI GetPrivateProfileString16(LPCSTR, LPCSTR, LPCSTR, LPSTR, UINT16, LPCSTR)
ATOM WINAPI AddAtom16(LPCSTR)
WORD WINAPI GetExpWinVer16(HMODULE16)
HLOCAL16 WINAPI LocalFree16(HLOCAL16)
WORD WINAPI AllocSelectorArray16(WORD)
HANDLE16 WINAPI FarGetOwner16(HGLOBAL16)
DWORD WINAPI GetWinFlags16(void)
BOOL16 WINAPI IsTask16(HTASK16)
HMODULE16 WINAPI GetModuleHandle16(LPCSTR)
HTASK16 WINAPI GetCurrentTask(void)
DWORD WINAPI GlobalSize16(HGLOBAL16)
void WINAPI FatalAppExit16(UINT16, LPCSTR)
WORD WINAPI GlobalHandleToSel16(HGLOBAL16)
FARPROC16 WINAPI FileCDR16(FARPROC16)
HQUEUE16 WINAPI SetThreadQueue16(DWORD, HQUEUE16)
HTASK16 WINAPI IsTaskLocked16(void)
INT16 WINAPI GetInstanceData16(HINSTANCE16, WORD, INT16)
INT16 WINAPI GetPrivateProfileSection16(LPCSTR, LPSTR, UINT16, LPCSTR)
WORD WINAPI PrestoChangoSelector16(WORD, WORD)
WORD WINAPI GlobalPageLock16(HGLOBAL16)
VOID WINAPI hmemcpy16(LPVOID, LPCVOID, LONG)
VOID WINAPI SetPriority16(HTASK16, INT16)
BOOL16 WINAPI IsDBCSLeadByte16(BYTE)
static LPVOID WINAPI MapSL(SEGPTR segptr)
HINSTANCE16 WINAPI GetTaskDS16(void)
BOOL16 WINAPI WritePrivateProfileSection16(LPCSTR, LPCSTR, LPCSTR)
BOOL16 WINAPI IsBadHugeReadPtr16(SEGPTR, DWORD)
UINT16 WINAPI GetNumTasks16(void)
WORD WINAPI FreeSelector16(WORD)
HINSTANCE16 WINAPI LoadModule16(LPCSTR, LPVOID)
BOOL16 WINAPI WritePrivateProfileStruct16(LPCSTR, LPCSTR, LPVOID, UINT16, LPCSTR)
DWORD WINAPI RegQueryValue16(HKEY, LPCSTR, LPSTR, LPDWORD)
DWORD WINAPI RegSetValueEx16(HKEY, LPCSTR, DWORD, DWORD, CONST BYTE *, DWORD)
HGLOBAL16 WINAPI GlobalLRUNewest16(HGLOBAL16)
UINT16 WINAPI _lwrite16(HFILE16, LPCSTR, UINT16)
ATOM WINAPI FindAtom16(LPCSTR)
WORD WINAPI SetSelectorLimit16(WORD, DWORD)
HANDLE16 WINAPI GetCodeHandle16(FARPROC16)
VOID WINAPI SwitchStackTo16(WORD, WORD, WORD)
HANDLE16 WINAPI GetAtomHandle16(ATOM)
struct _STACK16FRAME STACK16FRAME
WORD WINAPI SetSelectorBase(WORD, DWORD)
VOID WINAPI _LeaveWin16Lock(void)
HINSTANCE16 WINAPI WinExec16(LPCSTR, UINT16)
DWORD WINAPI GetHeapSpaces16(HMODULE16)
VOID WINAPI LogError16(UINT16, LPVOID)
SEGPTR WINAPI HasGPHandler16(SEGPTR)
HGLOBAL16 WINAPI DirectResAlloc16(HINSTANCE16, WORD, UINT16)
INT16 WINAPI GetProfileSection16(LPCSTR, LPSTR, UINT16)
INT16 WINAPI GetModuleUsage16(HINSTANCE16)
FARPROC16 WINAPI MakeProcInstance16(FARPROC16, HANDLE16)
HRSRC16 WINAPI FindResource16(HINSTANCE16, LPCSTR, LPCSTR)
HGLOBAL16 WINAPI AllocResource16(HINSTANCE16, HRSRC16, DWORD)
VOID WINAPI GlobalNotify16(FARPROC16)
BOOL16 WINAPI DefineHandleTable16(WORD)
DWORD WINAPI RegEnumKey16(HKEY, DWORD, LPSTR, DWORD)
BOOL16 WINAPI CreateDirectory16(LPCSTR, LPVOID)
BOOL16 WINAPI DeleteFile16(LPCSTR)
SEGPTR WINAPI GlobalWire16(HGLOBAL16)
WORD WINAPI LocalHandleDelta16(WORD)
VOID WINAPI LogParamError16(UINT16, FARPROC16, LPVOID)
WORD WINAPI AllocDStoCSAlias16(WORD)
BOOL16 WINAPI FindClose16(HANDLE16)
INT16 WINAPI GetLocaleInfo16(LCID, LCTYPE, LPSTR, INT16)
WORD WINAPI GetPrivateProfileSectionNames16(LPSTR, UINT16, LPCSTR)
BOOL16 WINAPI WriteProfileSection16(LPCSTR, LPCSTR)
VOID WINAPI _CreateSysLevel(SYSLEVEL *, INT)
VOID WINAPI _EnterWin16Lock(void)
DWORD WINAPI GetSelectorLimit16(WORD)
HINSTANCE16 WINAPI LoadLibrary16(LPCSTR)
HFILE16 WINAPI _lclose16(HFILE16)
VOID WINAPI GlobalUnfix16(HGLOBAL16)
WORD WINAPI GlobalPageUnlock16(HGLOBAL16)
SEGPTR WINAPI lstrcat16(SEGPTR, LPCSTR)
UINT16 WINAPI LocalShrink16(HGLOBAL16, UINT16)
DWORD WINAPI GetFileAttributes16(LPCSTR)
VOID WINAPI FreeLibrary16(HINSTANCE16)
struct tagSYSLEVEL SYSLEVEL
SEGPTR WINAPI lstrcatn16(SEGPTR, LPCSTR, INT16)
UINT16 WINAPI LocalSize16(HLOCAL16)
LRESULT(CALLBACK * FARPROC16)()