1996-04-14 15:21:20 +02:00
|
|
|
#ifndef __WINE_WINBASE_H
|
|
|
|
#define __WINE_WINBASE_H
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
#include "winnt.h"
|
1999-01-01 19:57:33 +01:00
|
|
|
|
1999-04-25 14:31:20 +02:00
|
|
|
#include "pshpack1.h"
|
1999-01-01 19:57:33 +01:00
|
|
|
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
1998-11-08 14:14:55 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
typedef struct tagCOORD {
|
|
|
|
INT16 x;
|
|
|
|
INT16 y;
|
|
|
|
} COORD, *LPCOORD;
|
|
|
|
|
|
|
|
|
|
|
|
/* Windows Exit Procedure flag values */
|
|
|
|
#define WEP_FREE_DLL 0
|
|
|
|
#define WEP_SYSTEM_EXIT 1
|
|
|
|
|
|
|
|
typedef DWORD (CALLBACK *LPTHREAD_START_ROUTINE)(LPVOID);
|
|
|
|
|
1999-05-16 19:11:58 +02:00
|
|
|
#define EXCEPTION_DEBUG_EVENT 1
|
|
|
|
#define CREATE_THREAD_DEBUG_EVENT 2
|
|
|
|
#define CREATE_PROCESS_DEBUG_EVENT 3
|
|
|
|
#define EXIT_THREAD_DEBUG_EVENT 4
|
|
|
|
#define EXIT_PROCESS_DEBUG_EVENT 5
|
|
|
|
#define LOAD_DLL_DEBUG_EVENT 6
|
|
|
|
#define UNLOAD_DLL_DEBUG_EVENT 7
|
|
|
|
#define OUTPUT_DEBUG_STRING_EVENT 8
|
|
|
|
#define RIP_EVENT 9
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct _EXCEPTION_DEBUG_INFO {
|
1999-05-16 19:11:58 +02:00
|
|
|
EXCEPTION_RECORD ExceptionRecord;
|
|
|
|
DWORD dwFirstChance;
|
1999-02-09 16:46:25 +01:00
|
|
|
} EXCEPTION_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _CREATE_THREAD_DEBUG_INFO {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hThread;
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID lpThreadLocalBase;
|
|
|
|
LPTHREAD_START_ROUTINE lpStartAddress;
|
|
|
|
} CREATE_THREAD_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _CREATE_PROCESS_DEBUG_INFO {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hFile;
|
|
|
|
HANDLE hProcess;
|
|
|
|
HANDLE hThread;
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID lpBaseOfImage;
|
|
|
|
DWORD dwDebugInfoFileOffset;
|
|
|
|
DWORD nDebugInfoSize;
|
|
|
|
LPVOID lpThreadLocalBase;
|
|
|
|
LPTHREAD_START_ROUTINE lpStartAddress;
|
|
|
|
LPVOID lpImageName;
|
|
|
|
WORD fUnicode;
|
|
|
|
} CREATE_PROCESS_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _EXIT_THREAD_DEBUG_INFO {
|
|
|
|
DWORD dwExitCode;
|
|
|
|
} EXIT_THREAD_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _EXIT_PROCESS_DEBUG_INFO {
|
|
|
|
DWORD dwExitCode;
|
|
|
|
} EXIT_PROCESS_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _LOAD_DLL_DEBUG_INFO {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hFile;
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID lpBaseOfDll;
|
|
|
|
DWORD dwDebugInfoFileOffset;
|
|
|
|
DWORD nDebugInfoSize;
|
|
|
|
LPVOID lpImageName;
|
|
|
|
WORD fUnicode;
|
|
|
|
} LOAD_DLL_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _UNLOAD_DLL_DEBUG_INFO {
|
|
|
|
LPVOID lpBaseOfDll;
|
|
|
|
} UNLOAD_DLL_DEBUG_INFO;
|
|
|
|
|
|
|
|
typedef struct _OUTPUT_DEBUG_STRING_INFO {
|
|
|
|
LPSTR lpDebugStringData;
|
|
|
|
WORD fUnicode;
|
|
|
|
WORD nDebugStringLength;
|
|
|
|
} OUTPUT_DEBUG_STRING_INFO;
|
|
|
|
|
|
|
|
typedef struct _RIP_INFO {
|
|
|
|
DWORD dwError;
|
|
|
|
DWORD dwType;
|
|
|
|
} RIP_INFO;
|
|
|
|
|
|
|
|
typedef struct _DEBUG_EVENT {
|
|
|
|
DWORD dwDebugEventCode;
|
|
|
|
DWORD dwProcessId;
|
|
|
|
DWORD dwThreadId;
|
|
|
|
union {
|
|
|
|
EXCEPTION_DEBUG_INFO Exception;
|
|
|
|
CREATE_THREAD_DEBUG_INFO CreateThread;
|
|
|
|
CREATE_PROCESS_DEBUG_INFO CreateProcessInfo;
|
|
|
|
EXIT_THREAD_DEBUG_INFO ExitThread;
|
|
|
|
EXIT_PROCESS_DEBUG_INFO ExitProcess;
|
|
|
|
LOAD_DLL_DEBUG_INFO LoadDll;
|
|
|
|
UNLOAD_DLL_DEBUG_INFO UnloadDll;
|
|
|
|
OUTPUT_DEBUG_STRING_INFO DebugString;
|
|
|
|
RIP_INFO RipInfo;
|
|
|
|
} u;
|
|
|
|
} DEBUG_EVENT, *LPDEBUG_EVENT;
|
|
|
|
|
|
|
|
#define OFS_MAXPATHNAME 128
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
BYTE cBytes;
|
|
|
|
BYTE fFixedDisk;
|
|
|
|
WORD nErrCode;
|
|
|
|
BYTE reserved[4];
|
|
|
|
BYTE szPathName[OFS_MAXPATHNAME];
|
|
|
|
} OFSTRUCT, *LPOFSTRUCT;
|
|
|
|
|
|
|
|
#define OF_READ 0x0000
|
|
|
|
#define OF_WRITE 0x0001
|
|
|
|
#define OF_READWRITE 0x0002
|
|
|
|
#define OF_SHARE_COMPAT 0x0000
|
|
|
|
#define OF_SHARE_EXCLUSIVE 0x0010
|
|
|
|
#define OF_SHARE_DENY_WRITE 0x0020
|
|
|
|
#define OF_SHARE_DENY_READ 0x0030
|
|
|
|
#define OF_SHARE_DENY_NONE 0x0040
|
|
|
|
#define OF_PARSE 0x0100
|
|
|
|
#define OF_DELETE 0x0200
|
|
|
|
#define OF_VERIFY 0x0400 /* Used with OF_REOPEN */
|
|
|
|
#define OF_SEARCH 0x0400 /* Used without OF_REOPEN */
|
|
|
|
#define OF_CANCEL 0x0800
|
|
|
|
#define OF_CREATE 0x1000
|
|
|
|
#define OF_PROMPT 0x2000
|
|
|
|
#define OF_EXIST 0x4000
|
|
|
|
#define OF_REOPEN 0x8000
|
|
|
|
|
|
|
|
/* SetErrorMode values */
|
|
|
|
#define SEM_FAILCRITICALERRORS 0x0001
|
|
|
|
#define SEM_NOGPFAULTERRORBOX 0x0002
|
|
|
|
#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
|
|
|
|
#define SEM_NOOPENFILEERRORBOX 0x8000
|
|
|
|
|
|
|
|
/* CopyFileEx flags */
|
|
|
|
#define COPY_FILE_FAIL_IF_EXISTS 0x00000001
|
|
|
|
#define COPY_FILE_RESTARTABLE 0x00000002
|
|
|
|
#define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x00000004
|
|
|
|
|
|
|
|
/* GetTempFileName() Flags */
|
|
|
|
#define TF_FORCEDRIVE 0x80
|
|
|
|
|
|
|
|
#define DRIVE_CANNOTDETERMINE 0
|
|
|
|
#define DRIVE_DOESNOTEXIST 1
|
|
|
|
#define DRIVE_REMOVABLE 2
|
|
|
|
#define DRIVE_FIXED 3
|
|
|
|
#define DRIVE_REMOTE 4
|
|
|
|
/* Win32 additions */
|
|
|
|
#define DRIVE_CDROM 5
|
|
|
|
#define DRIVE_RAMDISK 6
|
|
|
|
|
|
|
|
/* The security attributes structure */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
DWORD nLength;
|
|
|
|
LPVOID lpSecurityDescriptor;
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL bInheritHandle;
|
1999-02-19 17:29:05 +01:00
|
|
|
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
1999-02-17 18:45:54 +01:00
|
|
|
#ifndef _FILETIME_
|
|
|
|
#define _FILETIME_
|
1999-02-09 16:46:25 +01:00
|
|
|
/* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
DWORD dwLowDateTime;
|
|
|
|
DWORD dwHighDateTime;
|
|
|
|
} FILETIME, *LPFILETIME;
|
1999-02-17 18:45:54 +01:00
|
|
|
#endif /* _FILETIME_ */
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
/* Find* structures */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD dwReserved0;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
CHAR cFileName[260];
|
|
|
|
CHAR cAlternateFileName[14];
|
1999-02-26 12:11:13 +01:00
|
|
|
} WIN32_FIND_DATAA, *LPWIN32_FIND_DATAA;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
DWORD dwReserved0;
|
|
|
|
DWORD dwReserved1;
|
|
|
|
WCHAR cFileName[260];
|
|
|
|
WCHAR cAlternateFileName[14];
|
1999-02-26 12:11:13 +01:00
|
|
|
} WIN32_FIND_DATAW, *LPWIN32_FIND_DATAW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(WIN32_FIND_DATA)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPWIN32_FIND_DATA)
|
|
|
|
|
1999-04-25 14:31:20 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LPVOID lpData;
|
|
|
|
DWORD cbData;
|
|
|
|
BYTE cbOverhead;
|
|
|
|
BYTE iRegionIndex;
|
|
|
|
WORD wFlags;
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
HANDLE hMem;
|
|
|
|
DWORD dwReserved[3];
|
|
|
|
} Block;
|
|
|
|
struct {
|
|
|
|
DWORD dwCommittedSize;
|
|
|
|
DWORD dwUnCommittedSize;
|
|
|
|
LPVOID lpFirstBlock;
|
|
|
|
LPVOID lpLastBlock;
|
|
|
|
} Region;
|
|
|
|
} Foo;
|
|
|
|
} PROCESS_HEAP_ENTRY, *LPPROCESS_HEAP_ENTRY;
|
|
|
|
|
|
|
|
#define PROCESS_HEAP_REGION 0x0001
|
|
|
|
#define PROCESS_HEAP_UNCOMMITTED_RANGE 0x0002
|
|
|
|
#define PROCESS_HEAP_ENTRY_BUSY 0x0004
|
|
|
|
#define PROCESS_HEAP_ENTRY_MOVEABLE 0x0010
|
|
|
|
#define PROCESS_HEAP_ENTRY_DDESHARE 0x0020
|
|
|
|
|
1999-02-09 16:46:25 +01:00
|
|
|
#define INVALID_HANDLE_VALUE16 ((HANDLE16) -1)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define INVALID_HANDLE_VALUE ((HANDLE) -1)
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
/* comm */
|
|
|
|
|
|
|
|
#define CBR_110 0xFF10
|
|
|
|
#define CBR_300 0xFF11
|
|
|
|
#define CBR_600 0xFF12
|
|
|
|
#define CBR_1200 0xFF13
|
|
|
|
#define CBR_2400 0xFF14
|
|
|
|
#define CBR_4800 0xFF15
|
|
|
|
#define CBR_9600 0xFF16
|
|
|
|
#define CBR_14400 0xFF17
|
|
|
|
#define CBR_19200 0xFF18
|
|
|
|
#define CBR_38400 0xFF1B
|
|
|
|
#define CBR_56000 0xFF1F
|
|
|
|
#define CBR_128000 0xFF23
|
|
|
|
#define CBR_256000 0xFF27
|
|
|
|
|
|
|
|
#define NOPARITY 0
|
|
|
|
#define ODDPARITY 1
|
|
|
|
#define EVENPARITY 2
|
|
|
|
#define MARKPARITY 3
|
|
|
|
#define SPACEPARITY 4
|
|
|
|
#define ONESTOPBIT 0
|
|
|
|
#define ONE5STOPBITS 1
|
|
|
|
#define TWOSTOPBITS 2
|
|
|
|
|
|
|
|
#define IGNORE 0
|
|
|
|
#define INFINITE16 0xFFFF
|
1999-02-26 12:11:13 +01:00
|
|
|
#define INFINITE 0xFFFFFFFF
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
#define CE_RXOVER 0x0001
|
|
|
|
#define CE_OVERRUN 0x0002
|
|
|
|
#define CE_RXPARITY 0x0004
|
|
|
|
#define CE_FRAME 0x0008
|
|
|
|
#define CE_BREAK 0x0010
|
|
|
|
#define CE_CTSTO 0x0020
|
|
|
|
#define CE_DSRTO 0x0040
|
|
|
|
#define CE_RLSDTO 0x0080
|
|
|
|
#define CE_TXFULL 0x0100
|
|
|
|
#define CE_PTO 0x0200
|
|
|
|
#define CE_IOE 0x0400
|
|
|
|
#define CE_DNS 0x0800
|
|
|
|
#define CE_OOP 0x1000
|
|
|
|
#define CE_MODE 0x8000
|
|
|
|
|
|
|
|
#define IE_BADID -1
|
|
|
|
#define IE_OPEN -2
|
|
|
|
#define IE_NOPEN -3
|
|
|
|
#define IE_MEMORY -4
|
|
|
|
#define IE_DEFAULT -5
|
|
|
|
#define IE_HARDWARE -10
|
|
|
|
#define IE_BYTESIZE -11
|
|
|
|
#define IE_BAUDRATE -12
|
|
|
|
|
|
|
|
#define EV_RXCHAR 0x0001
|
|
|
|
#define EV_RXFLAG 0x0002
|
|
|
|
#define EV_TXEMPTY 0x0004
|
|
|
|
#define EV_CTS 0x0008
|
|
|
|
#define EV_DSR 0x0010
|
|
|
|
#define EV_RLSD 0x0020
|
|
|
|
#define EV_BREAK 0x0040
|
|
|
|
#define EV_ERR 0x0080
|
|
|
|
#define EV_RING 0x0100
|
|
|
|
#define EV_PERR 0x0200
|
|
|
|
#define EV_CTSS 0x0400
|
|
|
|
#define EV_DSRS 0x0800
|
|
|
|
#define EV_RLSDS 0x1000
|
|
|
|
#define EV_RINGTE 0x2000
|
|
|
|
#define EV_RingTe EV_RINGTE
|
|
|
|
|
|
|
|
#define SETXOFF 1
|
|
|
|
#define SETXON 2
|
|
|
|
#define SETRTS 3
|
|
|
|
#define CLRRTS 4
|
|
|
|
#define SETDTR 5
|
|
|
|
#define CLRDTR 6
|
|
|
|
#define RESETDEV 7
|
|
|
|
#define SETBREAK 8
|
|
|
|
#define CLRBREAK 9
|
|
|
|
|
|
|
|
#define GETBASEIRQ 10
|
|
|
|
|
|
|
|
/* Purge functions for Comm Port */
|
|
|
|
#define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the
|
|
|
|
comm port */
|
|
|
|
#define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to
|
|
|
|
the comm port */
|
|
|
|
#define PURGE_TXCLEAR 0x0004 /* Kill the transmit queue if there*/
|
|
|
|
#define PURGE_RXCLEAR 0x0008 /* Kill the typeahead buffer if there*/
|
|
|
|
|
|
|
|
|
|
|
|
/* Modem Status Flags */
|
|
|
|
#define MS_CTS_ON ((DWORD)0x0010)
|
|
|
|
#define MS_DSR_ON ((DWORD)0x0020)
|
|
|
|
#define MS_RING_ON ((DWORD)0x0040)
|
|
|
|
#define MS_RLSD_ON ((DWORD)0x0080)
|
|
|
|
|
|
|
|
#define RTS_CONTROL_DISABLE 0
|
|
|
|
#define RTS_CONTROL_ENABLE 1
|
|
|
|
#define RTS_CONTROL_HANDSHAKE 2
|
|
|
|
#define RTS_CONTROL_TOGGLE 3
|
|
|
|
|
|
|
|
#define DTR_CONTROL_DISABLE 0
|
|
|
|
#define DTR_CONTROL_ENABLE 1
|
|
|
|
#define DTR_CONTROL_HANDSHAKE 2
|
|
|
|
|
|
|
|
#define CSTF_CTSHOLD 0x01
|
|
|
|
#define CSTF_DSRHOLD 0x02
|
|
|
|
#define CSTF_RLSDHOLD 0x04
|
|
|
|
#define CSTF_XOFFHOLD 0x08
|
|
|
|
#define CSTF_XOFFSENT 0x10
|
|
|
|
#define CSTF_EOF 0x20
|
|
|
|
#define CSTF_TXIM 0x40
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
#define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))
|
|
|
|
#define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
|
1999-02-09 16:46:25 +01:00
|
|
|
#define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
|
|
|
|
|
|
|
|
/* Predefined resource types */
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_CURSORA MAKEINTRESOURCEA(1)
|
|
|
|
#define RT_CURSORW MAKEINTRESOURCEW(1)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_CURSOR WINELIB_NAME_AW(RT_CURSOR)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_BITMAPA MAKEINTRESOURCEA(2)
|
|
|
|
#define RT_BITMAPW MAKEINTRESOURCEW(2)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_BITMAP WINELIB_NAME_AW(RT_BITMAP)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_ICONA MAKEINTRESOURCEA(3)
|
|
|
|
#define RT_ICONW MAKEINTRESOURCEW(3)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_ICON WINELIB_NAME_AW(RT_ICON)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_MENUA MAKEINTRESOURCEA(4)
|
|
|
|
#define RT_MENUW MAKEINTRESOURCEW(4)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_MENU WINELIB_NAME_AW(RT_MENU)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_DIALOGA MAKEINTRESOURCEA(5)
|
|
|
|
#define RT_DIALOGW MAKEINTRESOURCEW(5)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_DIALOG WINELIB_NAME_AW(RT_DIALOG)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_STRINGA MAKEINTRESOURCEA(6)
|
|
|
|
#define RT_STRINGW MAKEINTRESOURCEW(6)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_STRING WINELIB_NAME_AW(RT_STRING)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_FONTDIRA MAKEINTRESOURCEA(7)
|
|
|
|
#define RT_FONTDIRW MAKEINTRESOURCEW(7)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_FONTDIR WINELIB_NAME_AW(RT_FONTDIR)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_FONTA MAKEINTRESOURCEA(8)
|
|
|
|
#define RT_FONTW MAKEINTRESOURCEW(8)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_FONT WINELIB_NAME_AW(RT_FONT)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_ACCELERATORA MAKEINTRESOURCEA(9)
|
|
|
|
#define RT_ACCELERATORW MAKEINTRESOURCEW(9)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_ACCELERATOR WINELIB_NAME_AW(RT_ACCELERATOR)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_RCDATAA MAKEINTRESOURCEA(10)
|
|
|
|
#define RT_RCDATAW MAKEINTRESOURCEW(10)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_RCDATA WINELIB_NAME_AW(RT_RCDATA)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_MESSAGELISTA MAKEINTRESOURCEA(11)
|
|
|
|
#define RT_MESSAGELISTW MAKEINTRESOURCEW(11)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_MESSAGELIST WINELIB_NAME_AW(RT_MESSAGELIST)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_GROUP_CURSORA MAKEINTRESOURCEA(12)
|
|
|
|
#define RT_GROUP_CURSORW MAKEINTRESOURCEW(12)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_GROUP_CURSOR WINELIB_NAME_AW(RT_GROUP_CURSOR)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define RT_GROUP_ICONA MAKEINTRESOURCEA(14)
|
|
|
|
#define RT_GROUP_ICONW MAKEINTRESOURCEW(14)
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RT_GROUP_ICON WINELIB_NAME_AW(RT_GROUP_ICON)
|
|
|
|
|
|
|
|
|
|
|
|
#define LMEM_FIXED 0
|
|
|
|
#define LMEM_MOVEABLE 0x0002
|
|
|
|
#define LMEM_NOCOMPACT 0x0010
|
|
|
|
#define LMEM_NODISCARD 0x0020
|
|
|
|
#define LMEM_ZEROINIT 0x0040
|
|
|
|
#define LMEM_MODIFY 0x0080
|
|
|
|
#define LMEM_DISCARDABLE 0x0F00
|
|
|
|
#define LMEM_DISCARDED 0x4000
|
|
|
|
#define LMEM_LOCKCOUNT 0x00FF
|
|
|
|
|
|
|
|
#define LPTR (LMEM_FIXED | LMEM_ZEROINIT)
|
|
|
|
|
|
|
|
#define GMEM_FIXED 0x0000
|
|
|
|
#define GMEM_MOVEABLE 0x0002
|
|
|
|
#define GMEM_NOCOMPACT 0x0010
|
|
|
|
#define GMEM_NODISCARD 0x0020
|
|
|
|
#define GMEM_ZEROINIT 0x0040
|
|
|
|
#define GMEM_MODIFY 0x0080
|
|
|
|
#define GMEM_DISCARDABLE 0x0100
|
|
|
|
#define GMEM_NOT_BANKED 0x1000
|
|
|
|
#define GMEM_SHARE 0x2000
|
|
|
|
#define GMEM_DDESHARE 0x2000
|
|
|
|
#define GMEM_NOTIFY 0x4000
|
|
|
|
#define GMEM_LOWER GMEM_NOT_BANKED
|
|
|
|
#define GMEM_DISCARDED 0x4000
|
|
|
|
#define GMEM_LOCKCOUNT 0x00ff
|
|
|
|
#define GMEM_INVALID_HANDLE 0x8000
|
|
|
|
|
|
|
|
#define GHND (GMEM_MOVEABLE | GMEM_ZEROINIT)
|
|
|
|
#define GPTR (GMEM_FIXED | GMEM_ZEROINIT)
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct tagMEMORYSTATUS
|
|
|
|
{
|
|
|
|
DWORD dwLength;
|
|
|
|
DWORD dwMemoryLoad;
|
|
|
|
DWORD dwTotalPhys;
|
|
|
|
DWORD dwAvailPhys;
|
|
|
|
DWORD dwTotalPageFile;
|
|
|
|
DWORD dwAvailPageFile;
|
|
|
|
DWORD dwTotalVirtual;
|
|
|
|
DWORD dwAvailVirtual;
|
|
|
|
} MEMORYSTATUS, *LPMEMORYSTATUS;
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NOLOGERROR
|
|
|
|
|
|
|
|
/* LogParamError and LogError values */
|
|
|
|
|
|
|
|
/* Error modifier bits */
|
|
|
|
#define ERR_WARNING 0x8000
|
|
|
|
#define ERR_PARAM 0x4000
|
|
|
|
|
|
|
|
#define ERR_SIZE_MASK 0x3000
|
|
|
|
#define ERR_BYTE 0x1000
|
|
|
|
#define ERR_WORD 0x2000
|
|
|
|
#define ERR_DWORD 0x3000
|
|
|
|
|
|
|
|
/* LogParamError() values */
|
|
|
|
|
|
|
|
/* Generic parameter values */
|
|
|
|
#define ERR_BAD_VALUE 0x6001
|
|
|
|
#define ERR_BAD_FLAGS 0x6002
|
|
|
|
#define ERR_BAD_INDEX 0x6003
|
|
|
|
#define ERR_BAD_DVALUE 0x7004
|
|
|
|
#define ERR_BAD_DFLAGS 0x7005
|
|
|
|
#define ERR_BAD_DINDEX 0x7006
|
|
|
|
#define ERR_BAD_PTR 0x7007
|
|
|
|
#define ERR_BAD_FUNC_PTR 0x7008
|
|
|
|
#define ERR_BAD_SELECTOR 0x6009
|
|
|
|
#define ERR_BAD_STRING_PTR 0x700a
|
|
|
|
#define ERR_BAD_HANDLE 0x600b
|
|
|
|
|
|
|
|
/* KERNEL parameter errors */
|
|
|
|
#define ERR_BAD_HINSTANCE 0x6020
|
|
|
|
#define ERR_BAD_HMODULE 0x6021
|
|
|
|
#define ERR_BAD_GLOBAL_HANDLE 0x6022
|
|
|
|
#define ERR_BAD_LOCAL_HANDLE 0x6023
|
|
|
|
#define ERR_BAD_ATOM 0x6024
|
|
|
|
#define ERR_BAD_HFILE 0x6025
|
|
|
|
|
|
|
|
/* USER parameter errors */
|
|
|
|
#define ERR_BAD_HWND 0x6040
|
|
|
|
#define ERR_BAD_HMENU 0x6041
|
|
|
|
#define ERR_BAD_HCURSOR 0x6042
|
|
|
|
#define ERR_BAD_HICON 0x6043
|
|
|
|
#define ERR_BAD_HDWP 0x6044
|
|
|
|
#define ERR_BAD_CID 0x6045
|
|
|
|
#define ERR_BAD_HDRVR 0x6046
|
|
|
|
|
|
|
|
/* GDI parameter errors */
|
|
|
|
#define ERR_BAD_COORDS 0x7060
|
|
|
|
#define ERR_BAD_GDI_OBJECT 0x6061
|
|
|
|
#define ERR_BAD_HDC 0x6062
|
|
|
|
#define ERR_BAD_HPEN 0x6063
|
|
|
|
#define ERR_BAD_HFONT 0x6064
|
|
|
|
#define ERR_BAD_HBRUSH 0x6065
|
|
|
|
#define ERR_BAD_HBITMAP 0x6066
|
|
|
|
#define ERR_BAD_HRGN 0x6067
|
|
|
|
#define ERR_BAD_HPALETTE 0x6068
|
|
|
|
#define ERR_BAD_HMETAFILE 0x6069
|
|
|
|
|
|
|
|
|
|
|
|
/* LogError() values */
|
|
|
|
|
|
|
|
/* KERNEL errors */
|
|
|
|
#define ERR_GALLOC 0x0001
|
|
|
|
#define ERR_GREALLOC 0x0002
|
|
|
|
#define ERR_GLOCK 0x0003
|
|
|
|
#define ERR_LALLOC 0x0004
|
|
|
|
#define ERR_LREALLOC 0x0005
|
|
|
|
#define ERR_LLOCK 0x0006
|
|
|
|
#define ERR_ALLOCRES 0x0007
|
|
|
|
#define ERR_LOCKRES 0x0008
|
|
|
|
#define ERR_LOADMODULE 0x0009
|
|
|
|
|
|
|
|
/* USER errors */
|
|
|
|
#define ERR_CREATEDLG 0x0040
|
|
|
|
#define ERR_CREATEDLG2 0x0041
|
|
|
|
#define ERR_REGISTERCLASS 0x0042
|
|
|
|
#define ERR_DCBUSY 0x0043
|
|
|
|
#define ERR_CREATEWND 0x0044
|
|
|
|
#define ERR_STRUCEXTRA 0x0045
|
|
|
|
#define ERR_LOADSTR 0x0046
|
|
|
|
#define ERR_LOADMENU 0x0047
|
|
|
|
#define ERR_NESTEDBEGINPAINT 0x0048
|
|
|
|
#define ERR_BADINDEX 0x0049
|
|
|
|
#define ERR_CREATEMENU 0x004a
|
|
|
|
|
|
|
|
/* GDI errors */
|
|
|
|
#define ERR_CREATEDC 0x0080
|
|
|
|
#define ERR_CREATEMETA 0x0081
|
|
|
|
#define ERR_DELOBJSELECTED 0x0082
|
|
|
|
#define ERR_SELBITMAP 0x0083
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Debugging support (DEBUG SYSTEM ONLY) */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
UINT16 flags;
|
|
|
|
DWORD dwOptions WINE_PACKED;
|
|
|
|
DWORD dwFilter WINE_PACKED;
|
|
|
|
CHAR achAllocModule[8] WINE_PACKED;
|
|
|
|
DWORD dwAllocBreak WINE_PACKED;
|
|
|
|
DWORD dwAllocCount WINE_PACKED;
|
|
|
|
} WINDEBUGINFO, *LPWINDEBUGINFO;
|
|
|
|
|
|
|
|
/* WINDEBUGINFO flags values */
|
|
|
|
#define WDI_OPTIONS 0x0001
|
|
|
|
#define WDI_FILTER 0x0002
|
|
|
|
#define WDI_ALLOCBREAK 0x0004
|
|
|
|
|
|
|
|
/* dwOptions values */
|
|
|
|
#define DBO_CHECKHEAP 0x0001
|
|
|
|
#define DBO_BUFFERFILL 0x0004
|
|
|
|
#define DBO_DISABLEGPTRAPPING 0x0010
|
|
|
|
#define DBO_CHECKFREE 0x0020
|
|
|
|
|
|
|
|
#define DBO_SILENT 0x8000
|
|
|
|
|
|
|
|
#define DBO_TRACEBREAK 0x2000
|
|
|
|
#define DBO_WARNINGBREAK 0x1000
|
|
|
|
#define DBO_NOERRORBREAK 0x0800
|
|
|
|
#define DBO_NOFATALBREAK 0x0400
|
|
|
|
#define DBO_INT3BREAK 0x0100
|
|
|
|
|
|
|
|
/* DebugOutput flags values */
|
|
|
|
#define DBF_TRACE 0x0000
|
|
|
|
#define DBF_WARNING 0x4000
|
|
|
|
#define DBF_ERROR 0x8000
|
|
|
|
#define DBF_FATAL 0xc000
|
|
|
|
|
|
|
|
/* dwFilter values */
|
|
|
|
#define DBF_KERNEL 0x1000
|
|
|
|
#define DBF_KRN_MEMMAN 0x0001
|
|
|
|
#define DBF_KRN_LOADMODULE 0x0002
|
|
|
|
#define DBF_KRN_SEGMENTLOAD 0x0004
|
|
|
|
#define DBF_USER 0x0800
|
|
|
|
#define DBF_GDI 0x0400
|
|
|
|
#define DBF_MMSYSTEM 0x0040
|
|
|
|
#define DBF_PENWIN 0x0020
|
|
|
|
#define DBF_APPLICATION 0x0008
|
|
|
|
#define DBF_DRIVER 0x0010
|
|
|
|
|
|
|
|
#endif /* NOLOGERROR */
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
WORD wYear;
|
|
|
|
WORD wMonth;
|
|
|
|
WORD wDayOfWeek;
|
|
|
|
WORD wDay;
|
|
|
|
WORD wHour;
|
|
|
|
WORD wMinute;
|
|
|
|
WORD wSecond;
|
|
|
|
WORD wMilliseconds;
|
|
|
|
} SYSTEMTIME, *LPSYSTEMTIME;
|
|
|
|
|
|
|
|
|
|
|
|
/* Code page information.
|
|
|
|
*/
|
|
|
|
#define MAX_LEADBYTES 12
|
|
|
|
#define MAX_DEFAULTCHAR 2
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT MaxCharSize;
|
1999-02-09 16:46:25 +01:00
|
|
|
BYTE DefaultChar[MAX_DEFAULTCHAR];
|
|
|
|
BYTE LeadByte[MAX_LEADBYTES];
|
|
|
|
} CPINFO, *LPCPINFO;
|
|
|
|
|
|
|
|
/* The 'overlapped' data structure used by async I/O functions.
|
|
|
|
*/
|
|
|
|
typedef struct {
|
|
|
|
DWORD Internal;
|
|
|
|
DWORD InternalHigh;
|
|
|
|
DWORD Offset;
|
|
|
|
DWORD OffsetHigh;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hEvent;
|
1999-02-09 16:46:25 +01:00
|
|
|
} OVERLAPPED, *LPOVERLAPPED;
|
|
|
|
|
|
|
|
/* Process startup information.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* STARTUPINFO.dwFlags */
|
|
|
|
#define STARTF_USESHOWWINDOW 0x00000001
|
|
|
|
#define STARTF_USESIZE 0x00000002
|
|
|
|
#define STARTF_USEPOSITION 0x00000004
|
|
|
|
#define STARTF_USECOUNTCHARS 0x00000008
|
|
|
|
#define STARTF_USEFILLATTRIBUTE 0x00000010
|
|
|
|
#define STARTF_RUNFULLSCREEN 0x00000020
|
|
|
|
#define STARTF_FORCEONFEEDBACK 0x00000040
|
|
|
|
#define STARTF_FORCEOFFFEEDBACK 0x00000080
|
|
|
|
#define STARTF_USESTDHANDLES 0x00000100
|
|
|
|
#define STARTF_USEHOTKEY 0x00000200
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD cb; /* 00: size of struct */
|
|
|
|
LPSTR lpReserved; /* 04: */
|
|
|
|
LPSTR lpDesktop; /* 08: */
|
|
|
|
LPSTR lpTitle; /* 0c: */
|
|
|
|
DWORD dwX; /* 10: */
|
|
|
|
DWORD dwY; /* 14: */
|
|
|
|
DWORD dwXSize; /* 18: */
|
|
|
|
DWORD dwYSize; /* 1c: */
|
|
|
|
DWORD dwXCountChars; /* 20: */
|
|
|
|
DWORD dwYCountChars; /* 24: */
|
|
|
|
DWORD dwFillAttribute; /* 28: */
|
|
|
|
DWORD dwFlags; /* 2c: */
|
|
|
|
WORD wShowWindow; /* 30: */
|
|
|
|
WORD cbReserved2; /* 32: */
|
|
|
|
BYTE *lpReserved2; /* 34: */
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hStdInput; /* 38: */
|
|
|
|
HANDLE hStdOutput; /* 3c: */
|
|
|
|
HANDLE hStdError; /* 40: */
|
|
|
|
} STARTUPINFOA, *LPSTARTUPINFOA;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD cb;
|
|
|
|
LPWSTR lpReserved;
|
|
|
|
LPWSTR lpDesktop;
|
|
|
|
LPWSTR lpTitle;
|
|
|
|
DWORD dwX;
|
|
|
|
DWORD dwY;
|
|
|
|
DWORD dwXSize;
|
|
|
|
DWORD dwYSize;
|
|
|
|
DWORD dwXCountChars;
|
|
|
|
DWORD dwYCountChars;
|
|
|
|
DWORD dwFillAttribute;
|
|
|
|
DWORD dwFlags;
|
|
|
|
WORD wShowWindow;
|
|
|
|
WORD cbReserved2;
|
|
|
|
BYTE *lpReserved2;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hStdInput;
|
|
|
|
HANDLE hStdOutput;
|
|
|
|
HANDLE hStdError;
|
|
|
|
} STARTUPINFOW, *LPSTARTUPINFOW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(STARTUPINFO)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPSTARTUPINFO)
|
|
|
|
|
|
|
|
typedef struct {
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE hProcess;
|
|
|
|
HANDLE hThread;
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD dwProcessId;
|
|
|
|
DWORD dwThreadId;
|
|
|
|
} PROCESS_INFORMATION,*LPPROCESS_INFORMATION;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
LONG Bias;
|
|
|
|
WCHAR StandardName[32];
|
|
|
|
SYSTEMTIME StandardDate;
|
|
|
|
LONG StandardBias;
|
|
|
|
WCHAR DaylightName[32];
|
|
|
|
SYSTEMTIME DaylightDate;
|
|
|
|
LONG DaylightBias;
|
|
|
|
} TIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;
|
|
|
|
|
|
|
|
#define TIME_ZONE_ID_UNKNOWN 0
|
|
|
|
#define TIME_ZONE_ID_STANDARD 1
|
|
|
|
#define TIME_ZONE_ID_DAYLIGHT 2
|
|
|
|
|
|
|
|
/* CreateProcess: dwCreationFlag values
|
|
|
|
*/
|
|
|
|
#define DEBUG_PROCESS 0x00000001
|
|
|
|
#define DEBUG_ONLY_THIS_PROCESS 0x00000002
|
|
|
|
#define CREATE_SUSPENDED 0x00000004
|
|
|
|
#define DETACHED_PROCESS 0x00000008
|
|
|
|
#define CREATE_NEW_CONSOLE 0x00000010
|
|
|
|
#define NORMAL_PRIORITY_CLASS 0x00000020
|
|
|
|
#define IDLE_PRIORITY_CLASS 0x00000040
|
|
|
|
#define HIGH_PRIORITY_CLASS 0x00000080
|
|
|
|
#define REALTIME_PRIORITY_CLASS 0x00000100
|
|
|
|
#define CREATE_NEW_PROCESS_GROUP 0x00000200
|
|
|
|
#define CREATE_UNICODE_ENVIRONMENT 0x00000400
|
|
|
|
#define CREATE_SEPARATE_WOW_VDM 0x00000800
|
|
|
|
#define CREATE_SHARED_WOW_VDM 0x00001000
|
|
|
|
#define CREATE_DEFAULT_ERROR_MODE 0x04000000
|
|
|
|
#define CREATE_NO_WINDOW 0x08000000
|
|
|
|
#define PROFILE_USER 0x10000000
|
|
|
|
#define PROFILE_KERNEL 0x20000000
|
|
|
|
#define PROFILE_SERVER 0x40000000
|
|
|
|
|
|
|
|
|
|
|
|
/* File object type definitions
|
|
|
|
*/
|
|
|
|
#define FILE_TYPE_UNKNOWN 0
|
|
|
|
#define FILE_TYPE_DISK 1
|
|
|
|
#define FILE_TYPE_CHAR 2
|
|
|
|
#define FILE_TYPE_PIPE 3
|
|
|
|
#define FILE_TYPE_REMOTE 32768
|
|
|
|
|
|
|
|
/* File creation flags
|
|
|
|
*/
|
|
|
|
#define FILE_FLAG_WRITE_THROUGH 0x80000000UL
|
|
|
|
#define FILE_FLAG_OVERLAPPED 0x40000000L
|
|
|
|
#define FILE_FLAG_NO_BUFFERING 0x20000000L
|
|
|
|
#define FILE_FLAG_RANDOM_ACCESS 0x10000000L
|
|
|
|
#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000L
|
|
|
|
#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000L
|
|
|
|
#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000L
|
|
|
|
#define FILE_FLAG_POSIX_SEMANTICS 0x01000000L
|
|
|
|
#define CREATE_NEW 1
|
|
|
|
#define CREATE_ALWAYS 2
|
|
|
|
#define OPEN_EXISTING 3
|
|
|
|
#define OPEN_ALWAYS 4
|
|
|
|
#define TRUNCATE_EXISTING 5
|
|
|
|
|
|
|
|
/* Standard handle identifiers
|
|
|
|
*/
|
|
|
|
#define STD_INPUT_HANDLE ((DWORD) -10)
|
|
|
|
#define STD_OUTPUT_HANDLE ((DWORD) -11)
|
|
|
|
#define STD_ERROR_HANDLE ((DWORD) -12)
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
int dwVolumeSerialNumber;
|
|
|
|
int nFileSizeHigh;
|
|
|
|
int nFileSizeLow;
|
|
|
|
int nNumberOfLinks;
|
|
|
|
int nFileIndexHigh;
|
|
|
|
int nFileIndexLow;
|
|
|
|
} BY_HANDLE_FILE_INFORMATION ;
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct _SYSTEM_POWER_STATUS
|
|
|
|
{
|
|
|
|
BOOL16 ACLineStatus;
|
|
|
|
BYTE BatteryFlag;
|
|
|
|
BYTE BatteryLifePercent;
|
|
|
|
BYTE reserved;
|
|
|
|
DWORD BatteryLifeTime;
|
|
|
|
DWORD BatteryFullLifeTime;
|
|
|
|
} SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS;
|
|
|
|
|
|
|
|
typedef struct _MEMORY_BASIC_INFORMATION
|
|
|
|
{
|
|
|
|
LPVOID BaseAddress;
|
|
|
|
LPVOID AllocationBase;
|
|
|
|
DWORD AllocationProtect;
|
|
|
|
DWORD RegionSize;
|
|
|
|
DWORD State;
|
|
|
|
DWORD Protect;
|
|
|
|
DWORD Type;
|
|
|
|
} MEMORY_BASIC_INFORMATION,*LPMEMORY_BASIC_INFORMATION;
|
|
|
|
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCA)(LPSTR);
|
|
|
|
typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCW)(LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC)
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR);
|
|
|
|
typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC)
|
|
|
|
|
|
|
|
typedef struct tagSYSTEM_INFO
|
|
|
|
{
|
|
|
|
union {
|
|
|
|
DWORD dwOemId;
|
|
|
|
struct {
|
|
|
|
WORD wProcessorArchitecture;
|
|
|
|
WORD wReserved;
|
|
|
|
} x;
|
|
|
|
} u;
|
|
|
|
DWORD dwPageSize;
|
|
|
|
LPVOID lpMinimumApplicationAddress;
|
|
|
|
LPVOID lpMaximumApplicationAddress;
|
|
|
|
DWORD dwActiveProcessorMask;
|
|
|
|
DWORD dwNumberOfProcessors;
|
|
|
|
DWORD dwProcessorType;
|
|
|
|
DWORD dwAllocationGranularity;
|
|
|
|
WORD wProcessorLevel;
|
|
|
|
WORD wProcessorRevision;
|
|
|
|
} SYSTEM_INFO, *LPSYSTEM_INFO;
|
|
|
|
|
|
|
|
/* service main function prototype */
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef VOID (CALLBACK *LPSERVICE_MAIN_FUNCTIONA)(DWORD,LPSTR);
|
|
|
|
typedef VOID (CALLBACK *LPSERVICE_MAIN_FUNCTIONW)(DWORD,LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
DECL_WINELIB_TYPE_AW(LPSERVICE_MAIN_FUNCTION)
|
|
|
|
|
|
|
|
/* service start table */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LPSTR lpServiceName;
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSERVICE_MAIN_FUNCTIONA lpServiceProc;
|
|
|
|
} *LPSERVICE_TABLE_ENTRYA, SERVICE_TABLE_ENTRYA;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LPWSTR lpServiceName;
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSERVICE_MAIN_FUNCTIONW lpServiceProc;
|
|
|
|
} *LPSERVICE_TABLE_ENTRYW, SERVICE_TABLE_ENTRYW;
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(SERVICE_TABLE_ENTRY)
|
|
|
|
DECL_WINELIB_TYPE_AW(LPSERVICE_TABLE_ENTRY)
|
|
|
|
|
|
|
|
/* {G,S}etPriorityClass */
|
|
|
|
#define NORMAL_PRIORITY_CLASS 0x00000020
|
|
|
|
#define IDLE_PRIORITY_CLASS 0x00000040
|
|
|
|
#define HIGH_PRIORITY_CLASS 0x00000080
|
|
|
|
#define REALTIME_PRIORITY_CLASS 0x00000100
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef BOOL (CALLBACK *ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESTYPEPROCW)(HMODULE,LPWSTR,LONG);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESNAMEPROCA)(HMODULE,LPCSTR,LPSTR,LONG);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESNAMEPROCW)(HMODULE,LPCWSTR,LPWSTR,LONG);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESLANGPROCA)(HMODULE,LPCSTR,LPCSTR,WORD,LONG);
|
|
|
|
typedef BOOL (CALLBACK *ENUMRESLANGPROCW)(HMODULE,LPCWSTR,LPCWSTR,WORD,LONG);
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
DECL_WINELIB_TYPE_AW(ENUMRESTYPEPROC)
|
|
|
|
DECL_WINELIB_TYPE_AW(ENUMRESNAMEPROC)
|
|
|
|
DECL_WINELIB_TYPE_AW(ENUMRESLANGPROC)
|
|
|
|
|
|
|
|
/* flags that can be passed to LoadLibraryEx */
|
|
|
|
#define DONT_RESOLVE_DLL_REFERENCES 0x00000001
|
|
|
|
#define LOAD_LIBRARY_AS_DATAFILE 0x00000002
|
|
|
|
#define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008
|
|
|
|
|
|
|
|
/* ifdef _x86_ ... */
|
|
|
|
typedef struct _LDT_ENTRY {
|
|
|
|
WORD LimitLow;
|
|
|
|
WORD BaseLow;
|
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
BYTE BaseMid;
|
|
|
|
BYTE Flags1;/*Declare as bytes to avoid alignment problems */
|
|
|
|
BYTE Flags2;
|
|
|
|
BYTE BaseHi;
|
|
|
|
} Bytes;
|
1999-04-22 18:27:50 +02:00
|
|
|
struct {
|
|
|
|
unsigned BaseMid : 8;
|
|
|
|
unsigned Type : 5;
|
|
|
|
unsigned Dpl : 2;
|
|
|
|
unsigned Pres : 1;
|
|
|
|
unsigned LimitHi : 4;
|
|
|
|
unsigned Sys : 1;
|
|
|
|
unsigned Reserved_0 : 1;
|
|
|
|
unsigned Default_Big : 1;
|
|
|
|
unsigned Granularity : 1;
|
|
|
|
unsigned BaseHi : 8;
|
1999-02-09 16:46:25 +01:00
|
|
|
} Bits;
|
|
|
|
} HighWord;
|
|
|
|
} LDT_ENTRY, *LPLDT_ENTRY;
|
|
|
|
|
|
|
|
/* for WOWHandle{16,32} */
|
|
|
|
typedef enum _WOW_HANDLE_TYPE { /* WOW */
|
|
|
|
WOW_TYPE_HWND,
|
|
|
|
WOW_TYPE_HMENU,
|
|
|
|
WOW_TYPE_HDWP,
|
|
|
|
WOW_TYPE_HDROP,
|
|
|
|
WOW_TYPE_HDC,
|
|
|
|
WOW_TYPE_HFONT,
|
|
|
|
WOW_TYPE_HMETAFILE,
|
|
|
|
WOW_TYPE_HRGN,
|
|
|
|
WOW_TYPE_HBITMAP,
|
|
|
|
WOW_TYPE_HBRUSH,
|
|
|
|
WOW_TYPE_HPALETTE,
|
|
|
|
WOW_TYPE_HPEN,
|
|
|
|
WOW_TYPE_HACCEL,
|
|
|
|
WOW_TYPE_HTASK,
|
|
|
|
WOW_TYPE_FULLHWND
|
|
|
|
} WOW_HANDLE_TYPE;
|
|
|
|
|
|
|
|
/* WOWCallback16Ex defines */
|
|
|
|
#define WCB16_MAX_CBARGS 16
|
|
|
|
/* ... dwFlags */
|
|
|
|
#define WCB16_PASCAL 0x0
|
|
|
|
#define WCB16_CDECL 0x1
|
|
|
|
|
|
|
|
typedef enum _GET_FILEEX_INFO_LEVELS {
|
|
|
|
GetFileExInfoStandard
|
|
|
|
} GET_FILEEX_INFO_LEVELS;
|
|
|
|
|
|
|
|
typedef struct _WIN32_FILE_ATTRIBUTES_DATA {
|
|
|
|
DWORD dwFileAttributes;
|
|
|
|
FILETIME ftCreationTime;
|
|
|
|
FILETIME ftLastAccessTime;
|
|
|
|
FILETIME ftLastWriteTime;
|
|
|
|
DWORD nFileSizeHigh;
|
|
|
|
DWORD nFileSizeLow;
|
|
|
|
} WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA;
|
|
|
|
|
|
|
|
typedef struct _DllVersionInfo {
|
|
|
|
DWORD cbSize;
|
|
|
|
DWORD dwMajorVersion;
|
|
|
|
DWORD dwMinorVersion;
|
|
|
|
DWORD dwBuildNumber;
|
|
|
|
DWORD dwPlatformID;
|
|
|
|
} DLLVERSIONINFO;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This one seems to be a Win32 only definition. It also is defined with
|
|
|
|
* WINAPI instead of CALLBACK in the windows headers.
|
|
|
|
*/
|
|
|
|
typedef DWORD (WINAPI *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER,
|
1999-02-26 12:11:13 +01:00
|
|
|
LARGE_INTEGER, DWORD, DWORD, HANDLE,
|
|
|
|
HANDLE, LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
|
|
|
|
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
#define WAIT_FAILED 0xffffffff
|
|
|
|
#define WAIT_OBJECT_0 0
|
|
|
|
#define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0
|
|
|
|
#define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0
|
Release 980822
Sat Aug 22 17:46:19 1998 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
* [include/dosexe.h] [include/module.h] [include/pe_image.h]
[include/process.h] [include/windows.h] [loader/dos/module.c]
[loader/module.c] [loader/ne/module.c] [loader/pe_image.c]
[scheduler/process.c] [win32/process.c]
Partially implemented CreateProcess32.
* [win32/device.c] [relay32/kernel32.spec] [scheduler/k32obj.c]
[misc/registry.c] [win32/file.c]
Partially implemented VxDCall (VMM registry services).
* [files/dos_fs.c]
DOSFS_FindNext made thread-safe.
* [include/sig_context.h] [include/syslevel.h] [loader/signal.c]
[scheduler/syslevel.c] [tools/build.c]
Replaced CALLTO16_Current_fs by SYSLEVEL_Win16CurrentTeb.
* [win32/kernel32.c]
Bugfix: QT_Thunk/FT_Thunk should return 'long' in DX:AX, not EAX.
* [if1632/relay.c] [relay32/builtin32.c] [windows/msgbox.c]
[msdos/int20.c] [msdos/int21.c]
Use ExitProcess instead of TASK_KillCurrentTask.
* [include/task.h] [include/thread.h] [loader/task.c]
[scheduler/thread.c] [include/queue.h] [windows/message.c]
[windows/queue.c] [windows/win.c]
Prevent Win32 threads from entering the TASK_Reschedule loop.
(Note: Win32 messaging still doesn't work correctly; this patch
is just preventing the system from crashing when Win32 threads
call messaging functions. Messages will probably still get lost.)
* [scheduler/critsection.c]
Deactivated the use of SEM_UNDO for the SYSTEM_LOCK semaphore;
for some reason, this leads to problems after threads terminate...
Sat Aug 22 15:00:00 1998 Jrgen Schmied <juergen.schmied@metronet.de>
* [include/authors.h]
New file, includes all names of the developer (former shell.c)
* [Makefile.in][configure][configure.in][dlls/Makefile.in]
[dlls/shell32/Makefile.in][shres.rc]
Created dlls/shell32 and moved the shell32 stuff in it.
Started to create internal resources.
* [dlls/shell32/*]
Split the shell32 implementation into smaller files.
New classes: IContextMenu, IExtractIcon, IShellView.
Implemented Shell_GetImageList().
shell32 links to comctl32 now dynamically so it can use
internal/external implementations.
* [documentation/internal-dll] [documentation/shell32]
New, could anybody do a spellcheck?
* [include/commctrl.h]
Many new LV constants, structures, functions.
* [controls/comctl32undoc.c]
Rewrote the DSA* functions.
* [windows/winpos.c]
SetShellWindow32, GetShellWindow32.
Sat Aug 22 14:02:15 1998 Alexander Lukyanov <lav@long.yar.ru>
* [loader/resource.c]
Mark last accelerator as such in LoadAccelerators32W.
* [relay32/shell32.spec] [misc/shell.c]
Add stubs for SHGetSpecialFolderPath[AW].
Sat Aug 22 02:07:42 1998 Adrian Harvey <adrian@select.com.au>
* [include/file.h] [file/file.c] [msdos/int21.c] [msdos/vxd.c]
[misc/lzexpand.c] [win32/kernel32.c] [documentation/filehandles]
Fixed file handle handling. Created universal HFILE16 to HFILE32
translation macro from msdos/int21 code by Ove Kaaven.
Used macro in all Win16 functions so that win32 handles are translated
to avoid DOS/Win16 stdxx handles.
Removed handle translation from int21.c where Win16 functions are
called. Changed remaining calls to use new macro names.
Documented filehandle handling and differences between win 16 & 32.
Fri Aug 21 20:32:49 1998 Alexandre Julliard <julliard@lrc.epfl.ch>
* [server/process.c] [server/thread.c]
Implemented object wait queues and synchronization.
Fri Aug 21 18:40:02 1998 Huw D M Davies <daviesh@abacus.physics.ox.ac.uk>
* [graphics/psdrv/*]
DEVMODE dmPaper{Width|Length} fields are in 0.1mm.
Select a 100 pixel default font in CreateDC.
Thu Aug 20 22:47:39 1998 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* [objects/bitmap.c]
Handle bits=32 in SetBitmapBits32 and GetBitmapBits32.
* [msdos/int21.c]
Add handling of Int21 0A and 37.
* [misc/commdlg.c]
Use MapHModuleLS and MapHModuleSL when translating HINSTANCE16 to
HINSTANCE32 and vice versa.
* [win32/file.c]
CreateFile32A: Abort if filename == NULL.
Thu Aug 20 12:28:31 1998 Marcus Meissner <marcus@jet.franken.de>
* [*/*]
Lots of missing prototypes added, some parameter types adapted to match
SDK.
* [debugger/stabs.c]
Don't loop forever if we don't find wine or one of the libxxx.so.
* [loader/ne/module.c]
Implemented MapHModuleLS,MapHModuleSL,MapHinstLS,MapHinstSL.
* [misc/network.c]
Implemented WNetGetUser32A.
* [misc/shellord.c]
Implemented ILRemoveLastID.
* [multimedia/dsound.c]
Fixed StarCraft memory leak.
* [graphics/ddraw.c]
Removed some unnecessary simple relaying functions, tried polishing
up the Xlib implementation (still doesn't work), temp. removed Xshm
code (to be remerged with working Xlib code).
Tue Aug 18 22:29:17 1998 Ove Kaaven <ovek@arcticnet.no>
* [multimedia/mmio.c] [multimedia/mmsystem.c]
Fixed most mmio bugs, fully implementing mmioSetBuffer
buffering, ability to read memory files, and the
sndPlaySound() SND_MEMORY flag. Most mmio-using programs
now work fine.
* [include/dosexe.h] [include/miscemu.h] [include/module.h]
[loader/module.c] [loader/task.c] [msdos/dosmem.c]
Improved DOS VM flexibility and portability somewhat. (Did
I get the #ifdefs right this time, BSD-ers?)
* [msdos/int21.c]
Made "Get Current PSP address" work as expected in a DOS VM.
* [loader/dos/*]
Began improving flexibility and portability somewhat. It
should be easier to add DPMI RMCB callbacks now. The
DOS VM no longer leaves big files lying around in /tmp
after a crash.
Tue Aug 18 12:38:31 1998 Turchanov Sergey <turchanov@usa.net>
* [relay32/winmm.spec]
This patch allows WinAmp to play WAV files (at least in PCM
format).
Sun Aug 16 05:34:13 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
* [windows/keyboard.c]
Corrected keyboard code to properly handle keys : ? ~ and "
on non US keyboards.
Sat Aug 15 18:47:14 1998 Brian Craft <bcboy@dorothy.wanglab.brandeis.edu>
* [windows/win.c]
Fixed severe bug in EnumChildWindwos().
Thu Aug 13 21:05:35 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de>
* [controls/tooltips.c]
Fixed some bugs. Added subclassing support.
* [controls/toolbar.c]
Improved tooltip integration. Fixed some bugs.
* [controls/commctrl.c]
Changed control registration and added some documentation.
Fixed ShowHideMenuCtl.
* [controls/rebar.c][include/rebar.h][include/commctrl.h]
Improved rebar implementation (still no display).
* [controls/pager.c][include/pager.h][include/commctrl.h]
Improved pager implementation (still no display).
* [misc/imagelist.c]
Fixed a bug.
* [documentation/common_controls]
Updated.
Sun Aug 9 19:50:20 1998 James Juran <jrj120@psu.edu>
* [Makefile.in] [documentation/Makefile.in]
[programs/Makefile.in] [programs/*/Makefile.in]
Added uninstall rules, cleaned up install rules a little bit.
Sun Aug 9 13:21:35 1998 Andreas Mohr <100.30936@germany.net>
* [loader/ne/module.c] [if1632/kernel.spec]
Added the undocumented HIWORD of GetModuleHandle (hFirstModule).
* [loader/ne/segment.c]
Wine forgot to set some NE_SEGFLAGS_*.
Combined with another loader change, this fixed the
"BLINKER -- error in loading module" or ghost MessageBox problem
that about 1% of all Windows programs have.
Some BLINKER programs still don't work, though.
But I'm working on it, with great help from Blinkinc.
* [loader/task.c]
InitTask needs to decrement the SP register by two as Win95 does.
Sun Aug 9 02:41:28 1998 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
* [if1632/kernel.spec] [relay32/kernel32.spec] [scheduler/syslevel.c]
[loader/main.c] [win32/ordinals.c] [include/syslevel.h]
[scheduler/Makefile.in]
Implemented Win95 'syslevel' routines (including Win16Lock).
* [if1632/relay.c] [if1632/thunk.c] [tools/build.c] [loader/task.c]
[loader/ne/segment.c] [win32/kernel32.c] [memory/selector.c]
[include/stackframe.h] [include/thread.h]
16-bit %fs handling revised. Use Win16Lock where appropriate.
* [include/thread.h] [scheduler/synchro.c] [windows/message.c]
[windows/queue.c] [win32/process.c]
Implemented MsgWaitForMultipleObjects.
* [files/change.c] [files/Makefile.in] [scheduler/k32obj.c]
[win32/newfns.c]
Implemented (dummy) file change notification objects.
* [debugger/dbg.y] [scheduler/process.c] [scheduler/thread.c]
[include/process.h] [include/thread.h]
Suspend all threads except current when hitting debugger break point.
* [objects/dib.c]
Bugfix for CreateDIBSection.
1998-08-22 21:03:56 +02:00
|
|
|
#define WAIT_IO_COMPLETION STATUS_USER_APC
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
#define WAIT_TIMEOUT STATUS_TIMEOUT
|
|
|
|
|
|
|
|
#define PAGE_NOACCESS 0x01
|
|
|
|
#define PAGE_READONLY 0x02
|
|
|
|
#define PAGE_READWRITE 0x04
|
|
|
|
#define PAGE_WRITECOPY 0x08
|
|
|
|
#define PAGE_EXECUTE 0x10
|
|
|
|
#define PAGE_EXECUTE_READ 0x20
|
|
|
|
#define PAGE_EXECUTE_READWRITE 0x40
|
|
|
|
#define PAGE_EXECUTE_WRITECOPY 0x80
|
|
|
|
#define PAGE_GUARD 0x100
|
|
|
|
#define PAGE_NOCACHE 0x200
|
|
|
|
|
1996-04-14 15:21:20 +02:00
|
|
|
#define MEM_COMMIT 0x00001000
|
|
|
|
#define MEM_RESERVE 0x00002000
|
|
|
|
#define MEM_DECOMMIT 0x00004000
|
|
|
|
#define MEM_RELEASE 0x00008000
|
|
|
|
#define MEM_FREE 0x00010000
|
|
|
|
#define MEM_PRIVATE 0x00020000
|
|
|
|
#define MEM_MAPPED 0x00040000
|
|
|
|
#define MEM_TOP_DOWN 0x00100000
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
Release 970415
Mon Apr 14 11:22:54 1997 John Harvey <john@division.co.uk>
* [graphics/win16drv/init.c]
Minor changes to help debug problems.
* [if1632/dummy.c] [if1632/gdi.spec]
Dummy routines for StartPage, EndPage, SetAbortProc, AbortProc.
* [misc/printdrv.c] [if1632/gdi.spec] [include/windows.h]
StartDoc16, EndDoc16 new functions.
Sun Apr 13 11:18:35 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [memory/virtual.c]
Implemented MapViewOfFile.
* [debugger/dbg.y]
Added 'info maps' command.
Fri Apr 11 16:34:08 1997 Frans van Dorsselaer <devel@rulhmpc58.LeidenUniv.nl>
* [controls/edit.c] [controls/EDIT.TODO]
Started restructuring. Performance improvements.
Fixed: wordwrap, scrollbar handling, scrolling, painting,
EditWndProc() is now reentrant, wordbreak procs,
better compliance to specs.
New: margins, format rectangle.
* [controls/widgets.c]
Changed the cursor for the edit control class to an I-beam.
* [include/callback.h]
Added 32 bit wordbreak callback.
Mon Apr 7 20:53:28 1997 Albrecht Kleine <kleine@ak.sax.de>
* [objects/metafile.c]
Added handling of some more metafile records:
META_CREATEREGION, META_INVERTREGION etc.
Sat Apr 5 09:23:02 MET DST 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
* [loader/signal.c]
Define kernel sigaction ourselves instead of getting it
from the kernel source.
Wed Apr 2 21:05:00 1997 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
* [control/menu.c]
Fix return value range for GetMenuState.
* [files/file.c]
Always fill out ofs->szPathName in FILE_DoOpenFile.
* [memory/string.c]
Add debug option string.
* [objects/cursoricon.c]
Fix return value for DestroyIcon32.
Mon Mar 31 17:16:12 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [DEVELOPERS-HINTS] [misc/*] [windows/*] [graphics/*]
Added description of the source tree. Moved several
files to fit it.
* [misc/shell.c]
Use Win32 heap functions.
1997-04-15 19:19:52 +02:00
|
|
|
#define SEC_FILE 0x00800000
|
|
|
|
#define SEC_IMAGE 0x01000000
|
|
|
|
#define SEC_RESERVE 0x04000000
|
|
|
|
#define SEC_COMMIT 0x08000000
|
|
|
|
#define SEC_NOCACHE 0x10000000
|
|
|
|
|
1997-03-05 09:22:35 +01:00
|
|
|
#define FILE_BEGIN 0
|
|
|
|
#define FILE_CURRENT 1
|
|
|
|
#define FILE_END 2
|
|
|
|
|
1996-06-23 16:56:20 +02:00
|
|
|
#define FILE_CASE_SENSITIVE_SEARCH 0x00000001
|
|
|
|
#define FILE_CASE_PRESERVED_NAMES 0x00000002
|
|
|
|
#define FILE_UNICODE_ON_DISK 0x00000004
|
|
|
|
#define FILE_PERSISTENT_ACLS 0x00000008
|
|
|
|
|
Release 970415
Mon Apr 14 11:22:54 1997 John Harvey <john@division.co.uk>
* [graphics/win16drv/init.c]
Minor changes to help debug problems.
* [if1632/dummy.c] [if1632/gdi.spec]
Dummy routines for StartPage, EndPage, SetAbortProc, AbortProc.
* [misc/printdrv.c] [if1632/gdi.spec] [include/windows.h]
StartDoc16, EndDoc16 new functions.
Sun Apr 13 11:18:35 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [memory/virtual.c]
Implemented MapViewOfFile.
* [debugger/dbg.y]
Added 'info maps' command.
Fri Apr 11 16:34:08 1997 Frans van Dorsselaer <devel@rulhmpc58.LeidenUniv.nl>
* [controls/edit.c] [controls/EDIT.TODO]
Started restructuring. Performance improvements.
Fixed: wordwrap, scrollbar handling, scrolling, painting,
EditWndProc() is now reentrant, wordbreak procs,
better compliance to specs.
New: margins, format rectangle.
* [controls/widgets.c]
Changed the cursor for the edit control class to an I-beam.
* [include/callback.h]
Added 32 bit wordbreak callback.
Mon Apr 7 20:53:28 1997 Albrecht Kleine <kleine@ak.sax.de>
* [objects/metafile.c]
Added handling of some more metafile records:
META_CREATEREGION, META_INVERTREGION etc.
Sat Apr 5 09:23:02 MET DST 1997 Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
* [loader/signal.c]
Define kernel sigaction ourselves instead of getting it
from the kernel source.
Wed Apr 2 21:05:00 1997 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
* [control/menu.c]
Fix return value range for GetMenuState.
* [files/file.c]
Always fill out ofs->szPathName in FILE_DoOpenFile.
* [memory/string.c]
Add debug option string.
* [objects/cursoricon.c]
Fix return value for DestroyIcon32.
Mon Mar 31 17:16:12 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [DEVELOPERS-HINTS] [misc/*] [windows/*] [graphics/*]
Added description of the source tree. Moved several
files to fit it.
* [misc/shell.c]
Use Win32 heap functions.
1997-04-15 19:19:52 +02:00
|
|
|
#define FILE_MAP_COPY 0x00000001
|
|
|
|
#define FILE_MAP_WRITE 0x00000002
|
|
|
|
#define FILE_MAP_READ 0x00000004
|
|
|
|
#define FILE_MAP_ALL_ACCESS 0x000f001f
|
|
|
|
|
1997-07-20 18:23:21 +02:00
|
|
|
#define MOVEFILE_REPLACE_EXISTING 0x00000001
|
|
|
|
#define MOVEFILE_COPY_ALLOWED 0x00000002
|
|
|
|
#define MOVEFILE_DELAY_UNTIL_REBOOT 0x00000004
|
|
|
|
|
1996-06-23 16:56:20 +02:00
|
|
|
#define FS_CASE_SENSITIVE FILE_CASE_SENSITIVE_SEARCH
|
|
|
|
#define FS_CASE_IS_PRESERVED FILE_CASE_PRESERVED_NAMES
|
|
|
|
#define FS_UNICODE_STORED_ON_DISK FILE_UNICODE_ON_DISK
|
|
|
|
|
1999-05-09 18:12:19 +02:00
|
|
|
#define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION
|
|
|
|
#define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT
|
|
|
|
#define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT
|
|
|
|
#define EXCEPTION_SINGLE_STEP STATUS_SINGLE_STEP
|
|
|
|
#define EXCEPTION_ARRAY_BOUNDS_EXCEEDED STATUS_ARRAY_BOUNDS_EXCEEDED
|
|
|
|
#define EXCEPTION_FLT_DENORMAL_OPERAND STATUS_FLOAT_DENORMAL_OPERAND
|
|
|
|
#define EXCEPTION_FLT_DIVIDE_BY_ZERO STATUS_FLOAT_DIVIDE_BY_ZERO
|
|
|
|
#define EXCEPTION_FLT_INEXACT_RESULT STATUS_FLOAT_INEXACT_RESULT
|
|
|
|
#define EXCEPTION_FLT_INVALID_OPERATION STATUS_FLOAT_INVALID_OPERATION
|
|
|
|
#define EXCEPTION_FLT_OVERFLOW STATUS_FLOAT_OVERFLOW
|
|
|
|
#define EXCEPTION_FLT_STACK_CHECK STATUS_FLOAT_STACK_CHECK
|
|
|
|
#define EXCEPTION_FLT_UNDERFLOW STATUS_FLOAT_UNDERFLOW
|
|
|
|
#define EXCEPTION_INT_DIVIDE_BY_ZERO STATUS_INTEGER_DIVIDE_BY_ZERO
|
|
|
|
#define EXCEPTION_INT_OVERFLOW STATUS_INTEGER_OVERFLOW
|
|
|
|
#define EXCEPTION_PRIV_INSTRUCTION STATUS_PRIVILEGED_INSTRUCTION
|
|
|
|
#define EXCEPTION_IN_PAGE_ERROR STATUS_IN_PAGE_ERROR
|
|
|
|
#define EXCEPTION_ILLEGAL_INSTRUCTION STATUS_ILLEGAL_INSTRUCTION
|
|
|
|
#define EXCEPTION_NONCONTINUABLE_EXCEPTION STATUS_NONCONTINUABLE_EXCEPTION
|
|
|
|
#define EXCEPTION_STACK_OVERFLOW STATUS_STACK_OVERFLOW
|
|
|
|
#define EXCEPTION_INVALID_DISPOSITION STATUS_INVALID_DISPOSITION
|
|
|
|
#define EXCEPTION_GUARD_PAGE STATUS_GUARD_PAGE_VIOLATION
|
|
|
|
#define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE
|
|
|
|
#define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
#define DUPLICATE_CLOSE_SOURCE 0x00000001
|
|
|
|
#define DUPLICATE_SAME_ACCESS 0x00000002
|
|
|
|
|
1998-02-15 20:40:49 +01:00
|
|
|
#define HANDLE_FLAG_INHERIT 0x00000001
|
|
|
|
#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x00000002
|
|
|
|
|
1999-02-10 07:48:49 +01:00
|
|
|
#define HINSTANCE_ERROR 32
|
|
|
|
|
1998-04-13 14:21:30 +02:00
|
|
|
#define THREAD_PRIORITY_LOWEST THREAD_BASE_PRIORITY_MIN
|
|
|
|
#define THREAD_PRIORITY_BELOW_NORMAL (THREAD_PRIORITY_LOWEST+1)
|
|
|
|
#define THREAD_PRIORITY_NORMAL 0
|
|
|
|
#define THREAD_PRIORITY_HIGHEST THREAD_BASE_PRIORITY_MAX
|
|
|
|
#define THREAD_PRIORITY_ABOVE_NORMAL (THREAD_PRIORITY_HIGHEST-1)
|
|
|
|
#define THREAD_PRIORITY_ERROR_RETURN (0x7fffffff)
|
|
|
|
#define THREAD_PRIORITY_TIME_CRITICAL THREAD_BASE_PRIORITY_LOWRT
|
|
|
|
#define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE
|
|
|
|
|
Release 960428
Sun Apr 28 14:32:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [Makefile.in]
Subdir memory is now also compiled for Winelib, in order to get
the Win32 heap functions.
* [if1632/Makefile.in]
Renamed winprocs and winprocs32 to wprocs and wprocs32 to avoid
DLL names > 8 characters.
* [loader/builtin.c] (New file)
Grouped all built-in DLLs code in a single file.
* [memory/global.c]
Use the Win32 heap code instead of malloc() to allocate linear
memory. This will help test the heap code.
* [memory/local.c]
Fixed FreeSelector() to clear DS and ES correctly for huge blocks.
* [tools/build.c] [if1632/relay.c]
Removed 'id' directive in spec files. For relay debugging, the DLL
entry point is now computed from the CS:IP entry point address.
Added 'heap' directive to specifiy a local heap for the DLL. USER
and GDI heap are now created this way.
* [windows/class.c] [include/class.h]
Changed the class structure to use pointers instead of handles.
Changed Get/SetClassWord/Long to use a switch statement; this
allows changing the layout of the CLASS structure.
* [windows/win.c] [include/win.h]
Use a CLASS * instead of a handle for the window class.
Sat Apr 27 18:10:11 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/kernel32.spec] [memory/global.c]
[win32/memory.c] [win32/process.c]
GetProcessAffinityMask,GlobalLock,IsBadReadPtr,IsBadWritePtr,
LocalLock,SetThreadAffinityMask: new relays.
* [win32/cursoricon32.c]
Return same handle if a cursor is loaded multiple times.
Sat Apr 27 15:13:37 1996 Bang Jun Young <bangjy@nownuri.nowcom.co.kr>
* [resources/sysres_Ko.rc]
Added support for Korean [Ko] language.
Fri Apr 26 00:49:05 1996 Huw D. M. Davies <h.davies1@physics.oxford.ac.uk>
* [objects/dc.c] [objects/font.c]
Fixed problem with SaveDC()/RestoreDC() and font cache 'used' count.
* [objects/metafile.c] [objects/dcvalues.c]
Fixed broken SetTextAlign() on metafiles.
* [objects/metafile.c]
Delete objects in handle table at end of PlayMetaFile().
Wed Apr 24 19:21:01 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/ver.spec] [misc/ver.c] [include/ver.h] (New files)
VER.DLL (partially) implemented (VerFindFile,VerInstallFile)
[If it doesn't work for you, use -dll -ver and report it to me]
* [if1632/user32.spec] [if1632/kernel32.spec] [if1632/shell.spec]
[if1632/shell32.spec] [misc/ole2nls.c] [windows/message.c]
[windows/graphics.c]
Simple win32 functions, where we can just use the win16 counterpart.
Misc. stubs.
* [misc/lstr.c]
Someone reported a _lstrlen(NULL). NULL is a valid argument. Fixed.
* [misc/registry.c]
Some alloclens were off by 1, one double fclose() fixed.
Requesting value 0 of a key with no values returns an error
(should we always return a made up value NULL? what does win3.1?)
Tue Apr 23 17:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [misc/shell.c]
Implemented FindEnvironmentString(), DoEnvironmentSubst(),
ExtractIcon(), InternalExtractIcon() and ExtractAssociatedIcon().
* [misc/user.c]
Do extensive cleanup on application exit.
* [windows/hook.c] [windows/win.c] [windows/class.c]
Added miscellaneous cleanup routines.
* [controls/menu.c]
More efficient popup menu window handling.
Mon Apr 22 21:35:22 1996 Albrecht Kleine <kleine@ak.sax.de>
* [include/windows.h][objects/oembitmap.c][include/bitmaps/obm_trtype]
Added "TT-bitmap" for later usage in a ChooseFont() ownerdraw combobox.
1996-04-28 17:09:19 +02:00
|
|
|
/* Could this type be considered opaque? */
|
|
|
|
typedef struct {
|
|
|
|
LPVOID DebugInfo;
|
|
|
|
LONG LockCount;
|
|
|
|
LONG RecursionCount;
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE OwningThread;
|
|
|
|
HANDLE LockSemaphore;
|
Release 960428
Sun Apr 28 14:32:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [Makefile.in]
Subdir memory is now also compiled for Winelib, in order to get
the Win32 heap functions.
* [if1632/Makefile.in]
Renamed winprocs and winprocs32 to wprocs and wprocs32 to avoid
DLL names > 8 characters.
* [loader/builtin.c] (New file)
Grouped all built-in DLLs code in a single file.
* [memory/global.c]
Use the Win32 heap code instead of malloc() to allocate linear
memory. This will help test the heap code.
* [memory/local.c]
Fixed FreeSelector() to clear DS and ES correctly for huge blocks.
* [tools/build.c] [if1632/relay.c]
Removed 'id' directive in spec files. For relay debugging, the DLL
entry point is now computed from the CS:IP entry point address.
Added 'heap' directive to specifiy a local heap for the DLL. USER
and GDI heap are now created this way.
* [windows/class.c] [include/class.h]
Changed the class structure to use pointers instead of handles.
Changed Get/SetClassWord/Long to use a switch statement; this
allows changing the layout of the CLASS structure.
* [windows/win.c] [include/win.h]
Use a CLASS * instead of a handle for the window class.
Sat Apr 27 18:10:11 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/kernel32.spec] [memory/global.c]
[win32/memory.c] [win32/process.c]
GetProcessAffinityMask,GlobalLock,IsBadReadPtr,IsBadWritePtr,
LocalLock,SetThreadAffinityMask: new relays.
* [win32/cursoricon32.c]
Return same handle if a cursor is loaded multiple times.
Sat Apr 27 15:13:37 1996 Bang Jun Young <bangjy@nownuri.nowcom.co.kr>
* [resources/sysres_Ko.rc]
Added support for Korean [Ko] language.
Fri Apr 26 00:49:05 1996 Huw D. M. Davies <h.davies1@physics.oxford.ac.uk>
* [objects/dc.c] [objects/font.c]
Fixed problem with SaveDC()/RestoreDC() and font cache 'used' count.
* [objects/metafile.c] [objects/dcvalues.c]
Fixed broken SetTextAlign() on metafiles.
* [objects/metafile.c]
Delete objects in handle table at end of PlayMetaFile().
Wed Apr 24 19:21:01 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/ver.spec] [misc/ver.c] [include/ver.h] (New files)
VER.DLL (partially) implemented (VerFindFile,VerInstallFile)
[If it doesn't work for you, use -dll -ver and report it to me]
* [if1632/user32.spec] [if1632/kernel32.spec] [if1632/shell.spec]
[if1632/shell32.spec] [misc/ole2nls.c] [windows/message.c]
[windows/graphics.c]
Simple win32 functions, where we can just use the win16 counterpart.
Misc. stubs.
* [misc/lstr.c]
Someone reported a _lstrlen(NULL). NULL is a valid argument. Fixed.
* [misc/registry.c]
Some alloclens were off by 1, one double fclose() fixed.
Requesting value 0 of a key with no values returns an error
(should we always return a made up value NULL? what does win3.1?)
Tue Apr 23 17:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [misc/shell.c]
Implemented FindEnvironmentString(), DoEnvironmentSubst(),
ExtractIcon(), InternalExtractIcon() and ExtractAssociatedIcon().
* [misc/user.c]
Do extensive cleanup on application exit.
* [windows/hook.c] [windows/win.c] [windows/class.c]
Added miscellaneous cleanup routines.
* [controls/menu.c]
More efficient popup menu window handling.
Mon Apr 22 21:35:22 1996 Albrecht Kleine <kleine@ak.sax.de>
* [include/windows.h][objects/oembitmap.c][include/bitmaps/obm_trtype]
Added "TT-bitmap" for later usage in a ChooseFont() ownerdraw combobox.
1996-04-28 17:09:19 +02:00
|
|
|
DWORD Reserved;
|
|
|
|
}CRITICAL_SECTION;
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
Release 980614
Sun Jun 15 10:30:35 1998 Andreas Mohr <100.30936@germany.net>
* [files/dos_fs.c] [files/file.c] [if1632/wprocs.spec]
[misc/aspi.c]
Added support for scanners that need Adaptec's ASPI2DOS.
* [graphics/env.c] [misc/printerdrv.c] [graphics/win16drv/init.c]
[if1632/gdi.spec] [include/gdi.h]
Enhanced printer support (especially Win95):
Drv[GS]etPrinterData, [GS]etEnvironment; added AbortProc handling.
* [misc/tapi32.c] [relay32/tapi32.spec]
Added some stubs.
* [configure.in] [graphics/fontengine.c] [include/windows.h]
[misc/comm.c] [misc/w32skrnl.c] [misc/win32s16.c]
Made Wine compile on HP-UX (just for fun ;)
* [controls/menu.c] [include/windows.h]
Complete rewrite of EnableMenuItem32.
Free Agent 32 still doesn't work :(
* [misc/version.c] [if1632/kernel.spec] [include/winbase.h]
Implemented GetVersionEx16.
* [misc/network.c] [if1632/user.spec]
Fixed arguments of WNetGetPropertyText.
* [misc/version.c] [relay32/comctl32.spec] [relay32/oleaut32.spec]
Implemented COMCTL32_DllGetVersion, OaBuildVersion.
* [win32/file.c]
Fixed UNC handling of CreateFile32.
Sat Jun 13 22:35:12 1998 Douglas Ridgway <ridgway@winehq.com>
* [Makefile.in] [Make.rules.in]
Added pattern for CVS merge files to 'make clean'
* [ole/olecli.c] [windows/scroll.c] [windows/grahics.c]
Add some DC handle unlocking. (When hdc's are always unlocked,
they can be made moveable.)
* [documentation/wine.texinfo]
Started a Wine Design chapter with discussion of
graphics driver model.
Sat Jun 13 11:19:25 1998 David Luyer <luyer@ucs.uwa.edu.au>
* [misc/main.c] [relay32/relay386.c]
Added new option -debugmsg +relay=.... or -debugmsg -relay=...
Fri Jun 12 22:56:09 1998 Marcus Meissner <marcus@jet.franken.de>
* [relay32/snoop.c][relay32/builtin.c][loader/pe_image.c]
Added inter win32 dll snooping. Use -debugmsg +snoop.
Number of arguments and string references are autodetected.
Some small bugfixes in the PE loader.
* [misc/system.c]
Disabled SystemTimers. They do not work with the current
%fs handling in the 32->16 relaycode. (helps labview)
* [msdos/dpmi.c][msdos/int2f.c][files/drive.c]
Added a monoton linear increasing memory allocator for DPMI (required
for LabView, HAFAS, ...)
mscdex handling in emulated realmode interrupts (for mcicda.drv)
allocate logical drives only once. (helps Myst)
* [files/profile.c]
Handle ^Z as space. Found on CDROMS (helps Myst Installer).
* [multimedia/mmio.c]
mmio* partially updated to win32. No funny additions.
* [windows/driver.c]
Added win32 driver handling (will be used for win32 multimedia/
msvideo drivers).
* [win32/device.c]
Added device handling (K32OBJ_DEVICE_IOCTL). Implemented
VTDAPI.5 (used by win95' WINMM.timeGetTime())
Fri Jun 12 18:01:18 1998 Rein Klazes <rklazes@casema.net>
* [ole/compobj.c relay32/ole32.spec]
Add a stub for CoLockObjectExternal32.
* [objects/clipping.c]
Fix in IntersectClipRect(), when there is no initial clipping
region.
* [graphics/x11drv/graphics.c]
Corrected several "one-off" errors for the Ellipse, Rectangle
and RoundRectangle (especially small ones) draw routines.
Arc and friends still have to be done.
Fri Jun 12 06:23:19 1998 Matthew Becker <mbecker@glasscity.net>
* [misc/ntdll.c]
Fixed some of the parameter counts.
* [misc/registry.c]
General cleanup, documentation.
Standard keys are allowed to be 'closed' and succeed.
* [misc/shell.c]
Check for correct return values from Reg* functions.
* [win32/newfns.c]
Added stubs for OpenDesktopA, SetThreadDesktop, and
SetUserObjectInformationA.
Wed Jun 10 20:28:08 1998 James Juran <jrj120@psu.edu>
* [debugger/break.c]
Fixed bug introduced in 980503 that broke the -debug command
line option for PE executable files.
* [configure.in] [include/acconfig.h] [include/debugtools.h]
[documentation/debug-msgs]
Added 'configure' options to compile out debugging messages.
Use --disable-debug to disable all debugging messages, and
--disable-trace to just disable TRACE messages. This results
in a stripped executable that is 15-20% smaller. This option
is very much untested--don't expect it to work.
* [documentation/debug-msgs] [documentation/debugging]
Minor updates.
* [*/*.c]
Fixed some compile warnings. This also includes the
compile_warnings_trivial patch from WineHQ.
Tue Jun 10 22:00:18 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de>
* [windows/sysmetrics.c][include/sysmetrics.h]
Fixed some Win95 values.
* [windows/nonclient.c][include/windows.h]
Fixed some Win95 drawing bugs.
Added extended window style flags (WS_EX_xxx).
* [misc/printdrv.c][relay32/winspool.spec]
Added stubs for DeletePrinterDriver32A, DeleteMonitor32A
and DeletePort32A.
* [windows/mdi.c][include/windows.h][relay32/user32.spec]
Added stubs for CascadeWindows and TileWindows.
* [controls/toolbar.c][include/toolbar.h]
Fixed a few bugs and implemented new features.
* [misc/shellord.c][relay32/shell32.spec]
Added stubs for SHELL32_60, SHELL32_61 and SHELL32_184.
* [controls/comctl32undoc.c][relay32/comctl32.spec]
New file comctl32undoc.c. Contains undocumented functions
of COMCTL32.DLL. These functions are needed to run EXPLORER.EXE
IEXPLORE.EXE and TASKMAN.EXE.
* [controls/status.c]
Added text alignment.
Tue Jun 8 22:00:00 1998 Bertho Stultiens <bertho@akhphd.au.dk>
* [programs/*/Makefile.in]
Changed the rules to use wrc as resource compiler but
passing the source through gcc first for macro expansion.
* [programs/*/*.rc]
Added #include "windows.h" for the resource compiler in the
appropriate files.
* [tools/wrc/wrc.[ch]] [tools/wrc/writeres.c]
Added commandline option -A for autoregister code.
Corrected the underscore problem by checking the proper define
from config.h.
Sun Jun 7 22:09:29 1998 Pascal Cuoq <pcuoq@ens-lyon.fr>
* [ole/ole2nls.c] [memory/string.c]
Improved LCMapString32A, and changed CompareString32A,
lstrcmp, lstrcmpi to use it.
Sat Jun 6 19:00:50 1998 Martin Strmberg <ams@ludd.luth.se>
* [include/winnt.h]
Added typedefs for security and tokens.
Sat Jun 6 12:26:31 1998 Morten Welinder <terra@diku.dk>
* [objects/text.c]
Use debugstr_an in DrawText16.
* [loader/resource.c]
Use debugres_w in FindResourceEx32W. Avoid crashing during
debug when wm is NULL.
* [if1632/relay.c]
In RELAY_DebugCallTo16, send output to the right place and
avoid side effects in macro arguments.
Wed Jun 3 20:56:03 1998 Huw D M Davies <daviesh@abacus.physics.ox.ac.uk>
* [controls/scroll.c] [windows/nonclient.c]
Fix several off by one errors in scrollbar painting.
Tue Jun 2 23:58:59 1998 Insomnia (Stea Greene) <insomnia@core.binghamton.edu>
* [graphics/dsound.c]
Rewrote mixer code to handle panning and volume for 16->16, 16->8,
8->16, and 8->8 bit mixes. Conforms to DirectX's "logarithmic
hearing scale" as specified in M$VC docs. Still does not handle
mixing of different frequencies (I am still working on that).
Tested 16->16 extensively with StarCraft. Other mixing combinations
untested but should work fine. Still kind of a work in progress,
so be warned.
Tue Jun 2 03:31:33 1998 Alexander V. Lukyanov <lav@long.yar.ru>
* [tools/wrc/utils.c]
dup_basename: fix to strip directory.
Mon Jun 1 20:00:00 1998 Juergen Schmied <juergen.schmied@metronet.de>
* [include/windows.h] [objects/cursoricon.c] [relay32/user32.spec]
Added stubs LoadCursorFromFileW and LoadCursorFromFileA.
1998-06-14 17:24:15 +02:00
|
|
|
typedef struct {
|
|
|
|
DWORD dwOSVersionInfoSize;
|
|
|
|
DWORD dwMajorVersion;
|
|
|
|
DWORD dwMinorVersion;
|
|
|
|
DWORD dwBuildNumber;
|
|
|
|
DWORD dwPlatformId;
|
|
|
|
CHAR szCSDVersion[128];
|
|
|
|
} OSVERSIONINFO16;
|
|
|
|
|
Release 960611
Tue Jun 11 15:20:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [debugger/break.c] [loader/signal.c]
Fixed breakpoints in 32-bit code.
* [include/windows.h]
Added many more Win32 versions of standard structures.
* [include/winreg.h] [misc/registry.c]
Moved private types into registry.c.
* [memory/string.c] (New file)
Moved most string functions from misc/lstr.c; added Win32 version
of all functions.
* [misc/wsprintf.c]
Implemented Win32 wsprintf functions.
* [objects/bitmap.c]
Implemented Win32 bitmap functions.
* [windows/dialog.c]
Don't set dialog procedure before the controls are created. This
avoids a crash in Winhelp.
Tue Jun 11 14:10:06 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [controls/menu.c] [if1632/user.spec] [windows/message.c]
Replace PeekMessage with PeekMessage16.
* [if1632/kernel32.spec][misc/main.c]
GetVersion32,GetVersionEx32A,GetVersionEx32W: new functions.
MAIN_ParseVersion: new function, new command line option -winver.
GetVersion: modified to take command line argument into account.
* [if1632/kernel32.spec] [win32/process.c]
FreeLibrary32: new function.
TlsAlloc: initialize Tls to zero.
InterlockedIncrement,InterlockedDecrement,InterlockedExchange: new
functions.
* [if1632/kernel32.spec]
SetErrorMode,GetActiveWindow: new relays to existing functions.
* [if1632/kernel32.spec][win32/user32.c]
PeekMessage32A,PeekMessage32W: new functions.
* [include/struct32.h][include/windows.h]
Moved MSG32 to windows.h.
Renamed MSG to MSG16.
Modified prototypes to use MSG16
* [include/winbase.h]
OSVERSIONINFO32A,OSVERSIONINFO32W: new structures.
Sun Jun 9 20:53:30 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/Makefile.in] [loader/builtin.c]
version.dll,lz32.dll added.
* [include/lzexpand.h] [if1632/lz32.spec] [if1632/lzexpand.spec]
[misc/lzexpand.c]
lz32.dll added.
Modified to new function naming standard.
* [include/ver.h] [if1632/ver.spec] [if1632/version.spec] [misc/ver.c]
version.dll added (win32 version of ver.dll).
Modified to new function naming standard.
Use registry to look up a LOCALE langids too.
(VerInstallFile,VerFindFile still stubs)
Fri Jun 7 20:40:20 1996 Albrecht Kleine <kleine@ak.sax.de>
* [files/file.c]
Added a warning if GetTempFileName() gets a bad drive parameter.
* [misc/commdlg.c]
Changed file listbox color to gray in SaveFile dialog
(just like Windows does this).
1996-06-11 18:02:08 +02:00
|
|
|
typedef struct {
|
|
|
|
DWORD dwOSVersionInfoSize;
|
|
|
|
DWORD dwMajorVersion;
|
|
|
|
DWORD dwMinorVersion;
|
|
|
|
DWORD dwBuildNumber;
|
|
|
|
DWORD dwPlatformId;
|
|
|
|
CHAR szCSDVersion[128];
|
1999-02-26 12:11:13 +01:00
|
|
|
} OSVERSIONINFOA;
|
Release 960611
Tue Jun 11 15:20:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [debugger/break.c] [loader/signal.c]
Fixed breakpoints in 32-bit code.
* [include/windows.h]
Added many more Win32 versions of standard structures.
* [include/winreg.h] [misc/registry.c]
Moved private types into registry.c.
* [memory/string.c] (New file)
Moved most string functions from misc/lstr.c; added Win32 version
of all functions.
* [misc/wsprintf.c]
Implemented Win32 wsprintf functions.
* [objects/bitmap.c]
Implemented Win32 bitmap functions.
* [windows/dialog.c]
Don't set dialog procedure before the controls are created. This
avoids a crash in Winhelp.
Tue Jun 11 14:10:06 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [controls/menu.c] [if1632/user.spec] [windows/message.c]
Replace PeekMessage with PeekMessage16.
* [if1632/kernel32.spec][misc/main.c]
GetVersion32,GetVersionEx32A,GetVersionEx32W: new functions.
MAIN_ParseVersion: new function, new command line option -winver.
GetVersion: modified to take command line argument into account.
* [if1632/kernel32.spec] [win32/process.c]
FreeLibrary32: new function.
TlsAlloc: initialize Tls to zero.
InterlockedIncrement,InterlockedDecrement,InterlockedExchange: new
functions.
* [if1632/kernel32.spec]
SetErrorMode,GetActiveWindow: new relays to existing functions.
* [if1632/kernel32.spec][win32/user32.c]
PeekMessage32A,PeekMessage32W: new functions.
* [include/struct32.h][include/windows.h]
Moved MSG32 to windows.h.
Renamed MSG to MSG16.
Modified prototypes to use MSG16
* [include/winbase.h]
OSVERSIONINFO32A,OSVERSIONINFO32W: new structures.
Sun Jun 9 20:53:30 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/Makefile.in] [loader/builtin.c]
version.dll,lz32.dll added.
* [include/lzexpand.h] [if1632/lz32.spec] [if1632/lzexpand.spec]
[misc/lzexpand.c]
lz32.dll added.
Modified to new function naming standard.
* [include/ver.h] [if1632/ver.spec] [if1632/version.spec] [misc/ver.c]
version.dll added (win32 version of ver.dll).
Modified to new function naming standard.
Use registry to look up a LOCALE langids too.
(VerInstallFile,VerFindFile still stubs)
Fri Jun 7 20:40:20 1996 Albrecht Kleine <kleine@ak.sax.de>
* [files/file.c]
Added a warning if GetTempFileName() gets a bad drive parameter.
* [misc/commdlg.c]
Changed file listbox color to gray in SaveFile dialog
(just like Windows does this).
1996-06-11 18:02:08 +02:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
DWORD dwOSVersionInfoSize;
|
|
|
|
DWORD dwMajorVersion;
|
|
|
|
DWORD dwMinorVersion;
|
|
|
|
DWORD dwBuildNumber;
|
|
|
|
DWORD dwPlatformId;
|
|
|
|
WCHAR szCSDVersion[128];
|
1999-02-26 12:11:13 +01:00
|
|
|
} OSVERSIONINFOW;
|
Release 960611
Tue Jun 11 15:20:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [debugger/break.c] [loader/signal.c]
Fixed breakpoints in 32-bit code.
* [include/windows.h]
Added many more Win32 versions of standard structures.
* [include/winreg.h] [misc/registry.c]
Moved private types into registry.c.
* [memory/string.c] (New file)
Moved most string functions from misc/lstr.c; added Win32 version
of all functions.
* [misc/wsprintf.c]
Implemented Win32 wsprintf functions.
* [objects/bitmap.c]
Implemented Win32 bitmap functions.
* [windows/dialog.c]
Don't set dialog procedure before the controls are created. This
avoids a crash in Winhelp.
Tue Jun 11 14:10:06 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [controls/menu.c] [if1632/user.spec] [windows/message.c]
Replace PeekMessage with PeekMessage16.
* [if1632/kernel32.spec][misc/main.c]
GetVersion32,GetVersionEx32A,GetVersionEx32W: new functions.
MAIN_ParseVersion: new function, new command line option -winver.
GetVersion: modified to take command line argument into account.
* [if1632/kernel32.spec] [win32/process.c]
FreeLibrary32: new function.
TlsAlloc: initialize Tls to zero.
InterlockedIncrement,InterlockedDecrement,InterlockedExchange: new
functions.
* [if1632/kernel32.spec]
SetErrorMode,GetActiveWindow: new relays to existing functions.
* [if1632/kernel32.spec][win32/user32.c]
PeekMessage32A,PeekMessage32W: new functions.
* [include/struct32.h][include/windows.h]
Moved MSG32 to windows.h.
Renamed MSG to MSG16.
Modified prototypes to use MSG16
* [include/winbase.h]
OSVERSIONINFO32A,OSVERSIONINFO32W: new structures.
Sun Jun 9 20:53:30 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/Makefile.in] [loader/builtin.c]
version.dll,lz32.dll added.
* [include/lzexpand.h] [if1632/lz32.spec] [if1632/lzexpand.spec]
[misc/lzexpand.c]
lz32.dll added.
Modified to new function naming standard.
* [include/ver.h] [if1632/ver.spec] [if1632/version.spec] [misc/ver.c]
version.dll added (win32 version of ver.dll).
Modified to new function naming standard.
Use registry to look up a LOCALE langids too.
(VerInstallFile,VerFindFile still stubs)
Fri Jun 7 20:40:20 1996 Albrecht Kleine <kleine@ak.sax.de>
* [files/file.c]
Added a warning if GetTempFileName() gets a bad drive parameter.
* [misc/commdlg.c]
Changed file listbox color to gray in SaveFile dialog
(just like Windows does this).
1996-06-11 18:02:08 +02:00
|
|
|
|
Release 980503
Thu Apr 30 16:28:12 1998 James Juran <jrj120@psu.edu>
* [scheduler/process.c]
Implemented GetExitCodeProcess. The code is a direct translation
of GetExitCodeThread.
Mon Apr 27 22:20:25 1998 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* [loader/pe_image.c]
Unload dummy module when PE_LoadLibraryEx32A fails with
PE_LoadImage (makes Encarta 98 installer proceed).
* [files/drive.c]
Make GetDriveType16 return DRIVE_REMOVABLE for TYPE_CDROM.
Make GetCurrentDirectory32 behave like the code does and not
like the help describes.
* [files/profile.c]
Revoke recent change in PROFILE_GetSection and try better
handling of special case.
* [include/windows.h]
Change definition of ACCEL32.
* [misc/commdlg.c]
Replace the GetXXXFilename32 macros by normal code.
Fix two reported bugs in my changes to commdlg.
* [windows/win.c]
Add a hook to catch bogus WM_SIZE messages by emitting a warning
in the appropriate case.
* [objects/bitmap.c]
Reject unreasonbable large size arguments in
CreateCompatibleBitmap32 and add an fixme for that situation.
Sun Apr 26 18:30:07 1998 Alexandre Julliard <julliard@lrc.epfl.ch>
* [include/ldt.h] [debugger/*.c] [miscemu/instr.c]
Added IS_SELECTOR_SYSTEM and IS_SELECTOR_32BIT macros.
Make instruction emulation support system selectors.
* [loader/*.c]
Started moving NE specific functions to the new loader/ne
directory.
* [memory/environ.c]
Enforce the 127 chars limit only when creating the environment of
a Win16 process.
Sun Apr 26 12:22:23 1998 Andreas Mohr <100.30936@germany.net>
* [files/file.c]
Fixed an incredible typo in CopyFile32A that made it unusable
since a rewrite in 970112 (!!).
* [files/directory.c]
Fixed GetTempPath32A/W to include trailing backslash.
* [misc/ver.c]
Make find_pe_resource "work" with corrupt files.
* [misc/wsprintf.c]
Altered WPRINTF_ParseFormatA/W to treat invalid format chars
as normal output, too.
* [msdos/dpmi.c]
Implemented "Allocate/Free real mode callback" (0x0303/0x0304).
Cross your fingers if you need to use it ;) (completely untested)
Implemented "Call real mode proc with far return" (0x0301, tested).
* [msdos/int21.c]
Fixed ioctlGenericBlkDevReq/0x60.
* [relay32/dplayx.spec] [relay32/builtin32.c] [relay32/Makefile.in]
Added built-in DPLAYX.DLL.
* [windows/win.c]
Fixed GetWindowWord()/GWW_HWNDPARENT to return the window's owner
if it has no parent (SDK).
Sat Apr 25 15:09:53 1998 M.T.Fortescue <mark@mtfhpc.demon.co.uk>
* [debugger/db_disasm.c]
Fixed disassemble bug for no-display option and 'lock',
'repne' and 'repe' prefixes.
* [debugger/registers.c]
Added textual flag description output on 'info regs'.
Sat Apr 25 14:18:26 1998 Matthew Becker <mbecker@glasscity.net>
* [*/*.c]
Added stubs and/or documentation for the following functions:
LookupPrivilegeValue, OpenService, ControlService, RegGetKeySecurity,
StartService, SetComputerName, DeleteService, CloseServiceHandle,
OpenProcessToken, OpenSCManager, DeregisterEventSource,
WaitForDebugEvent, WaitForInputIdle, RegisterEventSource,
SetDebugErrorLevel, SetConsoleCursorPosition, ChoosePixelFormat,
SetPixelFormat, GetPixelFormat, DescribePixelFormat, SwapBuffers,
PolyBezier, AbortPath, DestroyAcceleratorTable, HeapWalk,
DdeInitialize, DdeUninitialize, DdeConnectList, DdeDisconnectList,
DdeCreateStringHandle, DdePostAdvise, DdeGetData, DdeNameService,
DdeGetLastError, WNetGetDirectoryType, EnumPrinters, RegFlushKey,
RegGetKeySecurity, DllGetClassObject, DllCanUnloadNow, CreateBitmap,
CreateCompatibleBitmap, CreateBitmapIndirect, GetBitmapBits,
SetBitmapBits, LoadImage, CopyImage, LoadBitmap, DrawIcon,
CreateDiscardableBitmap, SetDIBits, GetCharABCWidths, LoadTypeLib,
SetConsoleCtrlHandler, CreateConsoleScreenBuffer, ReadConsoleInput,
GetConsoleCursorInfo, SetConsoleCursorInfo, SetConsoleWindowInfo,
SetConsoleTextAttribute, SetConsoleScreenBufferSize,
FillConsoleOutputCharacter, FillConsoleOutputAttribute,
CreateMailslot, GetMailslotInfo, GetCompressedFileSize,
GetProcessWindowStation, GetThreadDesktop, SetDebugErrorLevel,
WaitForDebugEvent, SetComputerName, CreateMDIWindow.
Thu Apr 23 23:54:04 1998 Douglas Ridgway <ridgway@winehq.com>
* [include/windows.h] [objects/enhmetafile.c] [relay32/gdi32.spec]
Implement CopyEnhMetaFile, Get/SetEnhMetaFileBits, other fixes.
* [include/windows.h] [objects/metafile.c] [relay32/gdi32.spec]
32-bit metafile fixes, implement EnumMetaFile32, GetMetaFileBitsEx.
* [objects/font.c] [graphics/x11drv/xfont.c] [graphics/x11drv/text.c]
Some rotated text support for X11R6 displays.
* [win32/newfns.c] [ole/ole2nls.c]
Moved GetNumberFormat32A.
Wed Apr 22 17:38:20 1998 David Lee Lambert <lamber45@egr.msu.edu>
* [ole/ole2nls.c] [misc/network.c]
Changed some function documentation to the new style.
* [misc/network.c] [include/windows.h] [if1632/user.spec]
[relay32/mpr.spec] [misc/mpr.c]
Added stubs for some Win32 network functions; renamed some
16-bit ones with 32-bit counterparts, as well as
WNetGetDirectoryType; moved the stubs in misc/mpr.c (three of
them!) to misc/network.c.
* [ole/compobj.c] [ole/storage.c] [ole/ole2disp.c]
[ole/ole2nls.c] [ole/folders.c] [ole/moniker.c] [ole/ole2.c]
[graphics/fontengine.c] [graphics/ddraw.c] [graphics/env.c]
[graphics/driver.c] [graphics/escape.c]
Changed fprintf's to proper debug-macros.
* [include/winnls.h]
Added some flags (for internal use).
* [ole/ole2nls.c]
Added the Unicode core function, and worked out a way to hide
the commonality of the core.
* [relay32/kernel32.spec]
Added support for GetDate/Time32A/W.
Wed Apr 22 09:16:03 1998 Gordon Chaffee <chaffee@cs.berkeley.edu>
* [win32/code_page.c]
Fixed problem with MultiByteToWideChar that was introduced in
last release. Made MultiByteToWideChar more compatible with Win32.
* [graphics/x11drv/graphics.c]
Fixed problem with drawing arcs.
Tue Apr 21 11:24:58 1998 Constantine Sapuntzakis <csapuntz@tma-1.lcs.mit.edu>
* [ole/ole2nls.c]
Move stuff from 0x409 case to Lang_En.
* [relay32/user32.spec] [windows/winpos.c]
Added stubs for GetWindowRgn32 and SetWindowRgn32. Makes Office
Paperclip happy.
Tue Apr 21 11:16:16 1998 Constantine Sapuntzakis <csapuntz@tma-1.lcs.mit.edu>
* [loader/pe_image.c]
If image is relocated, TLS addresses need to be adjusted.
* [debugger/*.c]
Generalized tests for 32-bit segments.
Tue Apr 21 02:04:59 1998 James Juran <jrj120@psu.edu>
* [misc/*.c] [miscemu/*.c] [msdos/*.c] [if1632/*.c]
[include/*.h] [loader/*.c] [memory/*.c] [multimedia/*.c]
[objects/*.c]
Almost all fprintf statements converted to appropriate
debug messages.
* [README]
Updated "GETTING MORE INFORMATION" section to include WineHQ.
* [documentation/debugger]
Fixed typo.
* [windows/defwnd.c]
Added function documentation.
Sun Apr 19 16:30:58 1998 Marcus Meissner <marcus@mud.de>
* [Make.rules.in]
Added lint target (using lclint).
* [relay32/oleaut32.spec][relay32/Makefile.in][ole/typelib.c]
[ole/ole2disp.c]
Added oleaut32 spec, added some SysString functions.
* [if1632/signal.c]
Added printing of faultaddress in Linux (using CR2 debug register).
* [configure.in]
Added <sys/types.h> for statfs checks.
* [loader/*.c][debugger/break.c][debugger/hash.c]
Started to split win32/win16 module handling, preparing support
for other binary formats (like ELF).
Sat Apr 18 10:07:41 1998 Rein Klazes <rklazes@casema.net>
* [misc/registry.c]
Fixed a bug that made RegQueryValuexxx returning
incorrect registry values.
Fri Apr 17 22:59:22 1998 Alexander V. Lukyanov <lav@long.yar.ru>
* [misc/lstr.c]
FormatMessage32*: remove linefeed when nolinefeed set;
check for target underflow.
Fri Apr 17 00:38:14 1998 Alexander V. Lukyanov <lav@long.yar.ru>
* [misc/crtdll.c]
Implement xlat_file_ptr for CRT stdin/stdout/stderr address
translation.
Wed Apr 15 20:43:56 1998 Jim Peterson <jspeter@birch.ee.vt.edu>
* [controls/menu.c]
Added 'odaction' parameter to MENU_DrawMenuItem() and redirected
WM_DRAWITEM messages to GetWindow(hwnd,GW_OWNER).
Tue Apr 14 16:17:55 1998 Berend Reitsma <berend@united-info.com>
* [graphics/metafiledrv/init.c] [graphics/painting.c]
[graphics/win16drv/init.c] [graphics/x11drv/graphics.c]
[graphics/x11drv/init.c] [include/gdi.h] [include/x11drv.h]
[relay32/gdi32.spec]
Added PolyPolyline routine.
* [windows/winproc.c]
Changed WINPROC_GetProc() to return proc instead of &(jmp proc).
1998-05-03 21:01:20 +02:00
|
|
|
DECL_WINELIB_TYPE_AW(OSVERSIONINFO)
|
Release 960611
Tue Jun 11 15:20:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [debugger/break.c] [loader/signal.c]
Fixed breakpoints in 32-bit code.
* [include/windows.h]
Added many more Win32 versions of standard structures.
* [include/winreg.h] [misc/registry.c]
Moved private types into registry.c.
* [memory/string.c] (New file)
Moved most string functions from misc/lstr.c; added Win32 version
of all functions.
* [misc/wsprintf.c]
Implemented Win32 wsprintf functions.
* [objects/bitmap.c]
Implemented Win32 bitmap functions.
* [windows/dialog.c]
Don't set dialog procedure before the controls are created. This
avoids a crash in Winhelp.
Tue Jun 11 14:10:06 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [controls/menu.c] [if1632/user.spec] [windows/message.c]
Replace PeekMessage with PeekMessage16.
* [if1632/kernel32.spec][misc/main.c]
GetVersion32,GetVersionEx32A,GetVersionEx32W: new functions.
MAIN_ParseVersion: new function, new command line option -winver.
GetVersion: modified to take command line argument into account.
* [if1632/kernel32.spec] [win32/process.c]
FreeLibrary32: new function.
TlsAlloc: initialize Tls to zero.
InterlockedIncrement,InterlockedDecrement,InterlockedExchange: new
functions.
* [if1632/kernel32.spec]
SetErrorMode,GetActiveWindow: new relays to existing functions.
* [if1632/kernel32.spec][win32/user32.c]
PeekMessage32A,PeekMessage32W: new functions.
* [include/struct32.h][include/windows.h]
Moved MSG32 to windows.h.
Renamed MSG to MSG16.
Modified prototypes to use MSG16
* [include/winbase.h]
OSVERSIONINFO32A,OSVERSIONINFO32W: new structures.
Sun Jun 9 20:53:30 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/Makefile.in] [loader/builtin.c]
version.dll,lz32.dll added.
* [include/lzexpand.h] [if1632/lz32.spec] [if1632/lzexpand.spec]
[misc/lzexpand.c]
lz32.dll added.
Modified to new function naming standard.
* [include/ver.h] [if1632/ver.spec] [if1632/version.spec] [misc/ver.c]
version.dll added (win32 version of ver.dll).
Modified to new function naming standard.
Use registry to look up a LOCALE langids too.
(VerInstallFile,VerFindFile still stubs)
Fri Jun 7 20:40:20 1996 Albrecht Kleine <kleine@ak.sax.de>
* [files/file.c]
Added a warning if GetTempFileName() gets a bad drive parameter.
* [misc/commdlg.c]
Changed file listbox color to gray in SaveFile dialog
(just like Windows does this).
1996-06-11 18:02:08 +02:00
|
|
|
|
|
|
|
#define VER_PLATFORM_WIN32s 0
|
|
|
|
#define VER_PLATFORM_WIN32_WINDOWS 1
|
|
|
|
#define VER_PLATFORM_WIN32_NT 2
|
|
|
|
|
1999-03-14 13:25:36 +01:00
|
|
|
typedef struct tagCOMSTAT
|
|
|
|
{
|
|
|
|
DWORD status;
|
|
|
|
DWORD cbInQue;
|
|
|
|
DWORD cbOutQue;
|
1999-01-01 19:57:33 +01:00
|
|
|
} COMSTAT,*LPCOMSTAT;
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
typedef struct tagDCB
|
1999-01-01 19:57:33 +01:00
|
|
|
{
|
|
|
|
DWORD DCBlength;
|
|
|
|
DWORD BaudRate;
|
1999-04-22 18:27:50 +02:00
|
|
|
unsigned fBinary :1;
|
|
|
|
unsigned fParity :1;
|
|
|
|
unsigned fOutxCtsFlow :1;
|
|
|
|
unsigned fOutxDsrFlow :1;
|
|
|
|
unsigned fDtrControl :2;
|
|
|
|
unsigned fDsrSensitivity :1;
|
|
|
|
unsigned fTXContinueOnXoff :1;
|
|
|
|
unsigned fOutX :1;
|
|
|
|
unsigned fInX :1;
|
|
|
|
unsigned fErrorChar :1;
|
|
|
|
unsigned fNull :1;
|
|
|
|
unsigned fRtsControl :2;
|
|
|
|
unsigned fAbortOnError :1;
|
|
|
|
unsigned fDummy2 :17;
|
1999-01-01 19:57:33 +01:00
|
|
|
WORD wReserved;
|
|
|
|
WORD XonLim;
|
|
|
|
WORD XoffLim;
|
|
|
|
BYTE ByteSize;
|
|
|
|
BYTE Parity;
|
|
|
|
BYTE StopBits;
|
|
|
|
char XonChar;
|
|
|
|
char XoffChar;
|
|
|
|
char ErrorChar;
|
|
|
|
char EofChar;
|
|
|
|
char EvtChar;
|
1999-02-26 12:11:13 +01:00
|
|
|
} DCB, *LPDCB;
|
1999-01-01 19:57:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct tagCOMMTIMEOUTS {
|
|
|
|
DWORD ReadIntervalTimeout;
|
|
|
|
DWORD ReadTotalTimeoutMultiplier;
|
|
|
|
DWORD ReadTotalTimeoutConstant;
|
|
|
|
DWORD WriteTotalTimeoutMultiplier;
|
|
|
|
DWORD WriteTotalTimeoutConstant;
|
|
|
|
} COMMTIMEOUTS,*LPCOMMTIMEOUTS;
|
|
|
|
|
1999-04-25 14:31:20 +02:00
|
|
|
#include "poppack.h"
|
1999-01-01 19:57:33 +01:00
|
|
|
|
1999-01-19 18:48:23 +01:00
|
|
|
typedef VOID (CALLBACK *PAPCFUNC)(ULONG_PTR);
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI ClearCommError(INT,LPDWORD,LPCOMSTAT);
|
|
|
|
BOOL WINAPI BuildCommDCBA(LPCSTR,LPDCB);
|
|
|
|
BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB);
|
1999-01-01 19:57:33 +01:00
|
|
|
#define BuildCommDCB WINELIB_NAME_AW(BuildCommDCB)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS);
|
|
|
|
BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS);
|
1999-01-01 19:57:33 +01:00
|
|
|
#define BuildCommDCBAndTimeouts WINELIB_NAME_AW(BuildCommDCBAndTimeouts)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetCommTimeouts(INT,LPCOMMTIMEOUTS);
|
|
|
|
BOOL WINAPI SetCommTimeouts(INT,LPCOMMTIMEOUTS);
|
|
|
|
BOOL WINAPI GetCommState(INT,LPDCB);
|
|
|
|
BOOL WINAPI SetCommState(INT,LPDCB);
|
|
|
|
BOOL WINAPI TransmitCommChar(INT,CHAR);
|
1999-01-01 19:57:33 +01:00
|
|
|
|
|
|
|
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
/*DWORD WINAPI GetVersion( void );*/
|
Release 980614
Sun Jun 15 10:30:35 1998 Andreas Mohr <100.30936@germany.net>
* [files/dos_fs.c] [files/file.c] [if1632/wprocs.spec]
[misc/aspi.c]
Added support for scanners that need Adaptec's ASPI2DOS.
* [graphics/env.c] [misc/printerdrv.c] [graphics/win16drv/init.c]
[if1632/gdi.spec] [include/gdi.h]
Enhanced printer support (especially Win95):
Drv[GS]etPrinterData, [GS]etEnvironment; added AbortProc handling.
* [misc/tapi32.c] [relay32/tapi32.spec]
Added some stubs.
* [configure.in] [graphics/fontengine.c] [include/windows.h]
[misc/comm.c] [misc/w32skrnl.c] [misc/win32s16.c]
Made Wine compile on HP-UX (just for fun ;)
* [controls/menu.c] [include/windows.h]
Complete rewrite of EnableMenuItem32.
Free Agent 32 still doesn't work :(
* [misc/version.c] [if1632/kernel.spec] [include/winbase.h]
Implemented GetVersionEx16.
* [misc/network.c] [if1632/user.spec]
Fixed arguments of WNetGetPropertyText.
* [misc/version.c] [relay32/comctl32.spec] [relay32/oleaut32.spec]
Implemented COMCTL32_DllGetVersion, OaBuildVersion.
* [win32/file.c]
Fixed UNC handling of CreateFile32.
Sat Jun 13 22:35:12 1998 Douglas Ridgway <ridgway@winehq.com>
* [Makefile.in] [Make.rules.in]
Added pattern for CVS merge files to 'make clean'
* [ole/olecli.c] [windows/scroll.c] [windows/grahics.c]
Add some DC handle unlocking. (When hdc's are always unlocked,
they can be made moveable.)
* [documentation/wine.texinfo]
Started a Wine Design chapter with discussion of
graphics driver model.
Sat Jun 13 11:19:25 1998 David Luyer <luyer@ucs.uwa.edu.au>
* [misc/main.c] [relay32/relay386.c]
Added new option -debugmsg +relay=.... or -debugmsg -relay=...
Fri Jun 12 22:56:09 1998 Marcus Meissner <marcus@jet.franken.de>
* [relay32/snoop.c][relay32/builtin.c][loader/pe_image.c]
Added inter win32 dll snooping. Use -debugmsg +snoop.
Number of arguments and string references are autodetected.
Some small bugfixes in the PE loader.
* [misc/system.c]
Disabled SystemTimers. They do not work with the current
%fs handling in the 32->16 relaycode. (helps labview)
* [msdos/dpmi.c][msdos/int2f.c][files/drive.c]
Added a monoton linear increasing memory allocator for DPMI (required
for LabView, HAFAS, ...)
mscdex handling in emulated realmode interrupts (for mcicda.drv)
allocate logical drives only once. (helps Myst)
* [files/profile.c]
Handle ^Z as space. Found on CDROMS (helps Myst Installer).
* [multimedia/mmio.c]
mmio* partially updated to win32. No funny additions.
* [windows/driver.c]
Added win32 driver handling (will be used for win32 multimedia/
msvideo drivers).
* [win32/device.c]
Added device handling (K32OBJ_DEVICE_IOCTL). Implemented
VTDAPI.5 (used by win95' WINMM.timeGetTime())
Fri Jun 12 18:01:18 1998 Rein Klazes <rklazes@casema.net>
* [ole/compobj.c relay32/ole32.spec]
Add a stub for CoLockObjectExternal32.
* [objects/clipping.c]
Fix in IntersectClipRect(), when there is no initial clipping
region.
* [graphics/x11drv/graphics.c]
Corrected several "one-off" errors for the Ellipse, Rectangle
and RoundRectangle (especially small ones) draw routines.
Arc and friends still have to be done.
Fri Jun 12 06:23:19 1998 Matthew Becker <mbecker@glasscity.net>
* [misc/ntdll.c]
Fixed some of the parameter counts.
* [misc/registry.c]
General cleanup, documentation.
Standard keys are allowed to be 'closed' and succeed.
* [misc/shell.c]
Check for correct return values from Reg* functions.
* [win32/newfns.c]
Added stubs for OpenDesktopA, SetThreadDesktop, and
SetUserObjectInformationA.
Wed Jun 10 20:28:08 1998 James Juran <jrj120@psu.edu>
* [debugger/break.c]
Fixed bug introduced in 980503 that broke the -debug command
line option for PE executable files.
* [configure.in] [include/acconfig.h] [include/debugtools.h]
[documentation/debug-msgs]
Added 'configure' options to compile out debugging messages.
Use --disable-debug to disable all debugging messages, and
--disable-trace to just disable TRACE messages. This results
in a stripped executable that is 15-20% smaller. This option
is very much untested--don't expect it to work.
* [documentation/debug-msgs] [documentation/debugging]
Minor updates.
* [*/*.c]
Fixed some compile warnings. This also includes the
compile_warnings_trivial patch from WineHQ.
Tue Jun 10 22:00:18 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de>
* [windows/sysmetrics.c][include/sysmetrics.h]
Fixed some Win95 values.
* [windows/nonclient.c][include/windows.h]
Fixed some Win95 drawing bugs.
Added extended window style flags (WS_EX_xxx).
* [misc/printdrv.c][relay32/winspool.spec]
Added stubs for DeletePrinterDriver32A, DeleteMonitor32A
and DeletePort32A.
* [windows/mdi.c][include/windows.h][relay32/user32.spec]
Added stubs for CascadeWindows and TileWindows.
* [controls/toolbar.c][include/toolbar.h]
Fixed a few bugs and implemented new features.
* [misc/shellord.c][relay32/shell32.spec]
Added stubs for SHELL32_60, SHELL32_61 and SHELL32_184.
* [controls/comctl32undoc.c][relay32/comctl32.spec]
New file comctl32undoc.c. Contains undocumented functions
of COMCTL32.DLL. These functions are needed to run EXPLORER.EXE
IEXPLORE.EXE and TASKMAN.EXE.
* [controls/status.c]
Added text alignment.
Tue Jun 8 22:00:00 1998 Bertho Stultiens <bertho@akhphd.au.dk>
* [programs/*/Makefile.in]
Changed the rules to use wrc as resource compiler but
passing the source through gcc first for macro expansion.
* [programs/*/*.rc]
Added #include "windows.h" for the resource compiler in the
appropriate files.
* [tools/wrc/wrc.[ch]] [tools/wrc/writeres.c]
Added commandline option -A for autoregister code.
Corrected the underscore problem by checking the proper define
from config.h.
Sun Jun 7 22:09:29 1998 Pascal Cuoq <pcuoq@ens-lyon.fr>
* [ole/ole2nls.c] [memory/string.c]
Improved LCMapString32A, and changed CompareString32A,
lstrcmp, lstrcmpi to use it.
Sat Jun 6 19:00:50 1998 Martin Strmberg <ams@ludd.luth.se>
* [include/winnt.h]
Added typedefs for security and tokens.
Sat Jun 6 12:26:31 1998 Morten Welinder <terra@diku.dk>
* [objects/text.c]
Use debugstr_an in DrawText16.
* [loader/resource.c]
Use debugres_w in FindResourceEx32W. Avoid crashing during
debug when wm is NULL.
* [if1632/relay.c]
In RELAY_DebugCallTo16, send output to the right place and
avoid side effects in macro arguments.
Wed Jun 3 20:56:03 1998 Huw D M Davies <daviesh@abacus.physics.ox.ac.uk>
* [controls/scroll.c] [windows/nonclient.c]
Fix several off by one errors in scrollbar painting.
Tue Jun 2 23:58:59 1998 Insomnia (Stea Greene) <insomnia@core.binghamton.edu>
* [graphics/dsound.c]
Rewrote mixer code to handle panning and volume for 16->16, 16->8,
8->16, and 8->8 bit mixes. Conforms to DirectX's "logarithmic
hearing scale" as specified in M$VC docs. Still does not handle
mixing of different frequencies (I am still working on that).
Tested 16->16 extensively with StarCraft. Other mixing combinations
untested but should work fine. Still kind of a work in progress,
so be warned.
Tue Jun 2 03:31:33 1998 Alexander V. Lukyanov <lav@long.yar.ru>
* [tools/wrc/utils.c]
dup_basename: fix to strip directory.
Mon Jun 1 20:00:00 1998 Juergen Schmied <juergen.schmied@metronet.de>
* [include/windows.h] [objects/cursoricon.c] [relay32/user32.spec]
Added stubs LoadCursorFromFileW and LoadCursorFromFileA.
1998-06-14 17:24:15 +02:00
|
|
|
BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16*);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetVersionExA(OSVERSIONINFOA*);
|
|
|
|
BOOL WINAPI GetVersionExW(OSVERSIONINFOW*);
|
Release 960611
Tue Jun 11 15:20:43 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [debugger/break.c] [loader/signal.c]
Fixed breakpoints in 32-bit code.
* [include/windows.h]
Added many more Win32 versions of standard structures.
* [include/winreg.h] [misc/registry.c]
Moved private types into registry.c.
* [memory/string.c] (New file)
Moved most string functions from misc/lstr.c; added Win32 version
of all functions.
* [misc/wsprintf.c]
Implemented Win32 wsprintf functions.
* [objects/bitmap.c]
Implemented Win32 bitmap functions.
* [windows/dialog.c]
Don't set dialog procedure before the controls are created. This
avoids a crash in Winhelp.
Tue Jun 11 14:10:06 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [controls/menu.c] [if1632/user.spec] [windows/message.c]
Replace PeekMessage with PeekMessage16.
* [if1632/kernel32.spec][misc/main.c]
GetVersion32,GetVersionEx32A,GetVersionEx32W: new functions.
MAIN_ParseVersion: new function, new command line option -winver.
GetVersion: modified to take command line argument into account.
* [if1632/kernel32.spec] [win32/process.c]
FreeLibrary32: new function.
TlsAlloc: initialize Tls to zero.
InterlockedIncrement,InterlockedDecrement,InterlockedExchange: new
functions.
* [if1632/kernel32.spec]
SetErrorMode,GetActiveWindow: new relays to existing functions.
* [if1632/kernel32.spec][win32/user32.c]
PeekMessage32A,PeekMessage32W: new functions.
* [include/struct32.h][include/windows.h]
Moved MSG32 to windows.h.
Renamed MSG to MSG16.
Modified prototypes to use MSG16
* [include/winbase.h]
OSVERSIONINFO32A,OSVERSIONINFO32W: new structures.
Sun Jun 9 20:53:30 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [if1632/Makefile.in] [loader/builtin.c]
version.dll,lz32.dll added.
* [include/lzexpand.h] [if1632/lz32.spec] [if1632/lzexpand.spec]
[misc/lzexpand.c]
lz32.dll added.
Modified to new function naming standard.
* [include/ver.h] [if1632/ver.spec] [if1632/version.spec] [misc/ver.c]
version.dll added (win32 version of ver.dll).
Modified to new function naming standard.
Use registry to look up a LOCALE langids too.
(VerInstallFile,VerFindFile still stubs)
Fri Jun 7 20:40:20 1996 Albrecht Kleine <kleine@ak.sax.de>
* [files/file.c]
Added a warning if GetTempFileName() gets a bad drive parameter.
* [misc/commdlg.c]
Changed file listbox color to gray in SaveFile dialog
(just like Windows does this).
1996-06-11 18:02:08 +02:00
|
|
|
#define GetVersionEx WINELIB_NAME_AW(GetVersionEx)
|
Release 951124
Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [configure.in] [Makefile] [misc/dos_fs.c]
Got rid of autoconf.h file.
* [debugger/dbg.y]
More logical behavior upon syntax errors.
* [include/hook.h] [windows/hook.c]
Changed hook structure and rewrote most of the hook functions for
better compatibility, based on investigations by Alex Korobka.
* [include/message.h] [windows/message.c]
Added hooks to message queue structure and made the structure
layout Windows-compatible.
Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
WH_JOURNALRECORD hooks.
* [misc/main.c]
Added command-line option for changing the language at run-time
(not implemented yet), based on a suggestion from Michael Patra.
* [objects/cursoricon.c]
Fixed silly SEGPTR bug in DumpIcon().
Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
Partial implementaion of LBS_EXTENDEDSEL style,
yet more updates for drag & drop support. Now works.
* [windows/defwnd.c]
More message handlers.
* [windows/win.c]
DragObject, DragDetect, AnyPopup functions.
* [controls/listbox.c]
More kludgy fixes (WM_...TOITEM, etc.).
* [objects/cursoricon.c] [objects/oembitmap.c]
IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
cursor.
* [include/bitmaps/ocr*]
New OEM cursors.
Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
* [toolkit/heap.c]
Swapped flags and size arguments to LocalRealloc as per changes in
memory/local.c by William Magro in previous release.
* [include/wintypes.h]
Reinstated the #define's for 'min' and 'max', since they're part of
the Windows API. I really don't think it's a wise idea, so I put
a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
WINE code should never use these (it should use 'MIN' and 'MAX'
instead).
* [loader/*]
Put '#ifndef WINELIB' around many things that WINElib should not need.
* [controls/edit.c]
Took out many '#if defined(WINELIB)' sections with the associated
comment 'temporary fix, until Local memory is correctly implemented in
WINELIB', since the effective translations are now in
toolkit/miscstubs.c.
Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
file fixed (or at least postponed) the bug I had encountered.
* [loader/task.c]
Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
C: This will probably cause a lot of trouble if this change is
forgotten in the future, but it will let things like the OpenFileName
dialog work for now.
* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
[include/libres.h]
Made new libres.c file, which will contain functions for supporting
accessing resources by name in WINElib. 'winerc' will need to be
changed.
* [toolkit/heap.c]
Refined memory routines to allow for differences between LocalAlloc
and GlobalAlloc and between LocalSize and GlobalSize.
* [windows/message.c] [include/windows.h]
Defined the GetCurrentTime routine in windows/message.c, and removed
the #define in windows.h.
Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
* [*/*]
Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
* [loader/module.c]
Added undocumented GetExpWinVer.
* [tools/build.c]
Previous code didn't pop possibly changed %esi, %edi and %edx
from the stack.
* [win32/advapi.c]
Added GetUserNameA.
* [win32/code_page.c]
Added stub for MultiByteToWideChar.
* [win32/console.c]
Added SetConsoleCtrlHandler stub.
* [win32/file.c]
Added ReadFile CreateFileA GetFileInformationByHandle stubs.
Added CloseHandle.
* [win32/memory.c]
Changed VirtualAlloc and VirtualFree.
* [win32/process.c]
Added ExitProcess.
Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [include/windows.h]
Fixed a few broken structure definitions.
* [loader/resource.c]
FindResource(): Need to check for '#xxx' strings here.
* [miscemu/int21.c]
FindNext(): Return MS-DOS filenames uppercase.
* [objects/cursoricon.c]
CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
initializers.
* [misc/file.c]
_lopen(): Files opened in OF_WRITE mode are truncated.
OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
created; use read/write mode.
* [misc/profile.c]
load(): Rewritten.
* [misc/commdlg.c]
Fixed bad call to strncpy() that smashed the stack.
* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
Operator precedence fixes. People who use gcc 2.7.1 don't need a
debugger :-)
* [if1632/gdi.spec] [objects/palette.c]
Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
but sometimes that's good enough.
Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
* [include/wine.h] [include/registers.h] [include/winsock.h]
Added definitions for Unixware.
* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
Misc. fixes for Unixware.
* [loader/task.c]
Made assignemts to context in InitTask for registers use the macros
from registers.h to make them more portable. (Needed for Unixware)
* [tools/build.c]
Fixed register acces routines to work on Unixware. Bit grubby but
it seems to work.
* [controls/edit.c]
EDIT_WM_NCCreate allocates local heap if hasn't been previously
allocated.
* [miscemu/int21.c]
mkdir now creates directory with permission to access it.
* [misc/dos_fs.c]
mkdir now creates directory with permission to access it.
DOS_opendir now uses linked list of dirents to avoid problems with
realloc changing address of malloced memory.
Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
* [controls/menu.c]
MENU_CalcItemSize(): Fixed handling of empty menu items.
Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
* [misc/file.c]
In OpenFile, unlink should be done on the unix filename.
Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
* [include/handle32.h]
New header file containing internal Win32 kernel handle
information.
* [win32/file.c]
Added ReadFile, CreateFile, and CloseFileHandle, and did
some reorganizing to match the new handle allocation scheme.
* [win32/init.c]
Added CloseHandle and the creation of standard I/O handles.
* [win32/object_mgt.c]
New module for allocating and freeing Win32 kernel handles.
1995-11-26 14:59:11 +01:00
|
|
|
|
1996-07-05 19:14:13 +02:00
|
|
|
/*int WinMain(HINSTANCE, HINSTANCE prev, char *cmd, int show);*/
|
1996-04-14 15:21:20 +02:00
|
|
|
|
1997-08-24 18:00:30 +02:00
|
|
|
void WINAPI DeleteCriticalSection(CRITICAL_SECTION *lpCrit);
|
|
|
|
void WINAPI EnterCriticalSection(CRITICAL_SECTION *lpCrit);
|
1999-05-02 13:26:07 +02:00
|
|
|
BOOL WINAPI TryEnterCriticalSection(CRITICAL_SECTION *lpCrit);
|
1997-08-24 18:00:30 +02:00
|
|
|
void WINAPI InitializeCriticalSection(CRITICAL_SECTION *lpCrit);
|
|
|
|
void WINAPI LeaveCriticalSection(CRITICAL_SECTION *lpCrit);
|
1999-01-17 17:32:32 +01:00
|
|
|
void WINAPI MakeCriticalSectionGlobal(CRITICAL_SECTION *lpCrit);
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI OpenProcess(DWORD access, BOOL inherit, DWORD id);
|
|
|
|
BOOL WINAPI GetProcessWorkingSetSize(HANDLE,LPDWORD,LPDWORD);
|
|
|
|
DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR);
|
Release 980601
Sun May 31 13:40:13 1998 Alexandre Julliard <julliard@lrc.epfl.ch>
* [if1632/signal.c]
Added display of exception name.
* [loader/task.c]
Yet another attempt at fixing SwitchStackTo/SwitchStackBack.
* [memory/selector.c] [relay32/builtin32.c] [tools/build.c]
[win32/kernel32.c]
Generate an assembly stub for Win32 register functions to make
their names available at link time.
* [programs/*/Makefile.in]
Added hacks to support old resource compiler.
Fri May 29 16:27:14 1998 Marcus Meissner <marcus@jet.franken.de>
* [tools/testrun]
Merge of my testscripts at home into one single perl program
(tested with perl5). Works only on Linux due to 'ps' and 'ipcs'
magic.
* [controls/menu.c]
Added some DefaultMenuItem stubs.
* [debugger/stabs.c]
Fixed stabs loading, now supports (int,int) typeinfo format used
by gcc-2.8 and egcs-1. If it still crashes, please mail me.
* [if1632/][relay32/]
Added msvideo.dll (stubs only)
Replaced some ptr by str for stringcases
Added some new stubs (VxDCall, FindCloseNotif....)
* [misc/network.c]
Some argument fixes.
* [misc/registry.c][misc/cpu.c]
Registry initialization partially rewritten and enhanced.
* [scheduler/*.c]
Some additions so we don't do kill(0,SIGUSR1) (kill processgroup
instead of targeted thread)
Added SetThreadContext.
Thu May 28 23:59:59 1998 Bertho Stultiens <bertho@akhphd.au.dk>
* [tools/wrc/*]
New resource compiler version 1.0.0 (28-May-1998)
* [Make.rules.in] [Makefile.in]
Changed and added rc rules to point to tools/wrc/wrc.
* [configure.in] [include/config.h.in]
Added check for function 'stricmp'.
* [include/resource.h]
Commented out the old resource structure to catch references.
It also includes wrc_rsc.h.
* [include/wrc_rsc.h]
New file. Definitions for the resources generated with wrc.
* [include/windows.h]
Added #ifdef RC_INVOKED to exclude stdarg.h.
Added SS_NOTIFY flag.
* [include/winnls.h]
Added SUBLANG_* definitions and corrected some defaults.
* [loader/libres.c]
Changed the sysres load functions to support wrc generated
resources.
* [resource/sysres_*.rc]
Added #include <windows.h>
* [resource/sysres.c]
Changed declarations to match wrc's output
* [resource/Makefile.in]
Changed rules to work with wrc.
* [tools/makedep.c]
Changed generation of .rc file dependencies to .s target.
Thu May 28 22:28:39 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de>
* [files/file.c][include/windows.c][relay32/kernel32.spec]
Implemented GetFileAttributesEx32A/W.
* [misc/imagelist.h][include/commctrl.h][relay32/comctl32.spec]
Added ImageList_Read and ImageList_Write stubs.
Added ImageList_AddIcon function.
Added ImageList_LoadImage. It is the same as ImageList_LoadImage32A.
* [controls/header.c]
Fixed bitmap drawing bug.
Added full bitmap support.
* [include/commctrl.h]
Added missing header macros.
* [controls/toolbar.c][include/toolbar.h][include/commctrl.h]
[controls/commctrl.c] [relay32/comctl32.spec]
First implementation of toolbar control.
Implemented CreateToolbar, CreateToolbarEx and CreateMappedBitmap.
* [controls/progress.c][controls/status.c]
Some code cleanup.
* [controls/commctrl.c][include/commctrl.h][relay32/comctl32.spec]
Removed CreateStatusWindow16 and DrawStatusText16.
CreateStatusWindow is the same as CreateStatusWindow32A.
DrawStatusText is the same as DrawStatusText32A.
Thu May 28 16:01:28 1998 Matthew J. Francis <asbel@dial.pipex.com>
* [objects/bitmap.c] [objects/bitmap.h] [objects/oembitmap.c]
[objects/dc.c] [graphics/x11drv/bitblt.c]
Added partial implementation of CreateDIBSection, with great thanks
to Ulrich Weigand <weigand@informatik.uni-erlangen.de> for
contributing the bulk of the patch.
Wed May 27 19:04:31 1998 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
* [win32/kernel32.c] [if1632/thunk.c] [include/flatthunk.h]
ThunkConnect16 and related functions moved to emulator.
* [loader/ne/segment.c]
Call DllEntryPoint with correct arguments.
* [relay32/builtin32.c]
Bugfix: Relay debugging did not work for multiple processes.
* [controls/menu.c]
Bugfix: dwItemData was not set for MF_OWNERDRAW menus.
* [if1632/relay.c] [relay32/relay386.c]
Relay messages converted to use DPRINTF.
* [controls/desktop.c] [relay32/user32.spec]
Implemented PaintDesktop.
* [files/profile.c] [if1632/kernel.spec] [misc/network.c]
[misc/printdrv.c] [relay32/winspool.spec]
[win32/ordinals.c] [relay32/kernel32.spec]
Some stubs added.
* [relay32/mpr.spec]
All ordinals were off by one.
Tue May 26 13:32:57 1998 Bill Hawes <whawes@star.net>
* [misc/lstr.c] [include/casemap.h] [tools/unimap.pl]
Added Unicode case conversion routines towupper/towlower,
with mapping tables casemap.h created by tools/unimap.pl.
* [misc/ntdll.c] [include/winnls.h] [relay32/ntdll.spec]
[relay32/advapi.spec]
Minimal implementation of IsTextUnicode, just enough to get
NT4 notepad to open ascii/unicode files.
* [Make.rules.in] [resources/sysres_En.rc]
Added include file dlgs.h for building resource files, so that
resources can refer to defined values (e.g. pshHelp).
* [misc/crtdll.c] [relay32/crtdll.spec]
Use towupper/towlower for 32W case conversions.
* [memory/string.c]
Use towupper for 32W case conversions.
* [ole/ole2nls.c]
Use towupper for 32W case conversions; fix mem leak; minor cleanup
* [controls/edit.c]
Added soft break flag to edit state. Print unknown action values
for WM_VSCROLL (action 190 occurs when running NT4 notepad.)
Mon May 25 22:42:40 1998 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* [files/file.c]
Care for a pathological case in SetFilePointer.
* [graphics/x11drv/xfont.c]
Handle longer Font names in LFD_ComposeLFD and try to catch errors.
* [loader/pe_image.c]
Unload Dummymodule when PE_LoadLibraryEx32A fails with
PE_LoadImage (makes Encarta 98 installer proceed).
* [misc/registry.c]
Move a check for a special case in RegCreateKeyEx32W after the
check for existence.
Tue May 25 20:18:26 1998 Matthew Becker <mbecker@glasscity.net>
* [misc/ntdll.c]
Added some stubs, just guessing at the size of their param lists.
* [misc/registry.c]
Added stubs for RegUnLoadKey, RegSetKeySecurity, RegSaveKey,
RegRestoreKey, and RegReplaceKey
* [programs/regtest/regtest.c]
Updated registry testing program.
Sun May 24 18:11:40 1998 Alex Priem <alexp@sci.kun.nl>
* [file/profile.c]
Added flag 'return_values' to PROFILE_GetSection.
Sun May 24 13:41:10 1998 James Juran <jrj120@psu.edu>
* [misc/shell.c] [files/directory.c]
Documentation/debugging info additions.
* [*/*.c] [include/*.h]
Moved many extern function definitions to appropriate header files.
Cleaned up a few compile warnings.
If #include "debug.h" is present, removed #include <stdio.h>.
debug.h includes stdio.h, so it is not necessary to include both.
* [graphics/*.c] [if1632/signal.c] [ipc/*.c] [scheduler/*.c]
[win32/*.c] [windows/*.c]
Final patch to convert fprintf statements to new debugging interface.
Some fprintfs are still left, especially in the debugger/ directory.
However, IMHO, it's not worth the effort to change the rest.
Fri May 22 21:58:35 1998 Morten Welinder <terra@diku.dk>
* [windows/keyboard.c]
Correct handling of keys "`-=[]\;',./".
Fri May 22 12:06:00 1998 Per Lindstrm <pelinstr@algonet.se>
* [include/windows.h] [relay32/kernel32.spec] [win32/console.c]
Added stub for ReadConsoleOutputCharacter32A.
Thu May 21 16:45:48 1998 Pascal Cuoq <pcuoq@ens-lyon.fr>
* [ole/ole2nls.c]
Began better implementation of LCMapString32A.
Not very well tested yet, and still need improvements.
* [controls/scroll.c]
Documented functions.
Wed May 20 21:37:56 1998 Peter Hunnisett <hunnise@nortel.ca>
* [include/windows.h][misc/main.c]
Change SystemParameterInfo to support SPI_GETHIGHCONTRAST. Also
include some missing SPI_ definitions.
* [include/dsound.h][multimedia/dsound.c][relay32/dplayx.spec]
Added stubs for DirectPlayLobbyCreate[AW]. Not sure if these
should go into a new files dplayx.c? Anyone care?
* [include/winnls.h]
Added two missing flags for the CompareString32 functions.
1998-06-01 12:44:35 +02:00
|
|
|
void WINAPI RaiseException(DWORD,DWORD,DWORD,const LPDWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetProcessWorkingSetSize(HANDLE,DWORD,DWORD);
|
|
|
|
BOOL WINAPI TerminateProcess(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI TerminateThread(HANDLE,DWORD);
|
1999-04-15 18:41:53 +02:00
|
|
|
BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD);
|
1998-12-24 17:24:43 +01:00
|
|
|
|
|
|
|
/* GetBinaryType return values.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define SCS_32BIT_BINARY 0
|
|
|
|
#define SCS_DOS_BINARY 1
|
|
|
|
#define SCS_WOW_BINARY 2
|
|
|
|
#define SCS_PIF_BINARY 3
|
|
|
|
#define SCS_POSIX_BINARY 4
|
|
|
|
#define SCS_OS216_BINARY 5
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetBinaryTypeA( LPCSTR lpApplicationName, LPDWORD lpBinaryType );
|
|
|
|
BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType );
|
1998-12-24 17:24:43 +01:00
|
|
|
#define GetBinaryType WINELIB_NAME_AW(GetBinaryType)
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO,UINT16);
|
|
|
|
BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO);
|
1999-02-09 16:46:25 +01:00
|
|
|
/* Declarations for functions that exist only in Win32 */
|
|
|
|
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI AllocConsole(void);
|
|
|
|
BOOL WINAPI AreFileApisANSI(void);
|
|
|
|
BOOL WINAPI Beep(DWORD,DWORD);
|
|
|
|
BOOL WINAPI CloseHandle(HANDLE);
|
1999-05-23 21:57:42 +02:00
|
|
|
BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI ConvertToGlobalHandle(HANDLE hSrc);
|
|
|
|
BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,BOOL);
|
|
|
|
BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,BOOL);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CopyFile WINELIB_NAME_AW(CopyFile)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI CopyFileExA(LPCSTR, LPCSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
|
|
|
|
BOOL WINAPI CopyFileExW(LPCWSTR, LPCWSTR, LPPROGRESS_ROUTINE, LPVOID, LPBOOL, DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CopyFileEx WINELIB_NAME_AW(CopyFileEx)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI CompareFileTime(LPFILETIME,LPFILETIME);
|
|
|
|
HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,BOOL,BOOL,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateEvent WINELIB_NAME_AW(CreateEvent)
|
1999-02-26 12:11:13 +01:00
|
|
|
HFILE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,
|
|
|
|
DWORD,DWORD,HANDLE);
|
|
|
|
HFILE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,
|
|
|
|
DWORD,DWORD,HANDLE);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateFile WINELIB_NAME_AW(CreateFile)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD,DWORD,LPCSTR);
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD,DWORD,LPCWSTR);
|
|
|
|
#define CreateFileMapping WINELIB_NAME_AW(CreateFileMapping)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateMutex WINELIB_NAME_AW(CreateMutex)
|
1999-03-25 11:53:08 +01:00
|
|
|
BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,
|
|
|
|
LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCSTR,
|
|
|
|
LPSTARTUPINFOA,LPPROCESS_INFORMATION);
|
|
|
|
BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,
|
|
|
|
LPSECURITY_ATTRIBUTES,BOOL,DWORD,LPVOID,LPCWSTR,
|
|
|
|
LPSTARTUPINFOW,LPPROCESS_INFORMATION);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateProcess WINELIB_NAME_AW(CreateProcess)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
|
|
|
|
HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
|
1999-05-23 21:57:42 +02:00
|
|
|
BOOL WINAPI DebugActiveProcess(DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI DisableThreadLibraryCalls(HMODULE);
|
|
|
|
BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
|
|
|
|
BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,BOOL,DWORD);
|
|
|
|
BOOL WINAPI EnumDateFormatsA(DATEFMT_ENUMPROCA lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
|
|
|
|
BOOL WINAPI EnumDateFormatsW(DATEFMT_ENUMPROCW lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,
|
|
|
|
ENUMRESLANGPROCA,LONG);
|
|
|
|
BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,
|
|
|
|
ENUMRESLANGPROCW,LONG);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define EnumResourceLanguages WINELIB_NAME_AW(EnumResourceLanguages)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROCA,
|
1999-02-09 16:46:25 +01:00
|
|
|
LONG);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROCW,
|
1999-02-09 16:46:25 +01:00
|
|
|
LONG);
|
|
|
|
#define EnumResourceNames WINELIB_NAME_AW(EnumResourceNames)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumResourceTypesA(HMODULE,ENUMRESTYPEPROCA,LONG);
|
|
|
|
BOOL WINAPI EnumResourceTypesW(HMODULE,ENUMRESTYPEPROCW,LONG);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define EnumResourceTypes WINELIB_NAME_AW(EnumResourceTypes)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD);
|
|
|
|
BOOL WINAPI EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD);
|
|
|
|
BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI EnumTimeFormatsA(TIMEFMT_ENUMPROCA lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
|
|
|
|
BOOL WINAPI EnumTimeFormatsW(TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
|
|
|
|
VOID WINAPI ExitProcess(DWORD);
|
|
|
|
VOID WINAPI ExitThread(DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define ExpandEnvironmentStrings WINELIB_NAME_AW(ExpandEnvironmentStrings)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI FileTimeToDosDateTime(const FILETIME*,LPWORD,LPWORD);
|
|
|
|
BOOL WINAPI FileTimeToLocalFileTime(const FILETIME*,LPFILETIME);
|
|
|
|
BOOL WINAPI FileTimeToSystemTime(const FILETIME*,LPSYSTEMTIME);
|
|
|
|
HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,BOOL,DWORD);
|
|
|
|
HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,BOOL,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FindFirstChangeNotification WINELIB_NAME_AW(FindFirstChangeNotification)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI FindNextChangeNotification(HANDLE);
|
|
|
|
BOOL WINAPI FindCloseChangeNotification(HANDLE);
|
|
|
|
HRSRC WINAPI FindResourceExA(HMODULE,LPCSTR,LPCSTR,WORD);
|
|
|
|
HRSRC WINAPI FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FindResourceEx WINELIB_NAME_AW(FindResourceEx)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI FlushConsoleInputBuffer(HANDLE);
|
|
|
|
BOOL WINAPI FlushFileBuffers(HFILE);
|
|
|
|
BOOL WINAPI FlushViewOfFile(LPCVOID, DWORD);
|
|
|
|
DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD,LPDWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR,
|
1999-02-14 10:41:42 +01:00
|
|
|
DWORD,LPDWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FormatMessage WINELIB_NAME_AW(FormatMessage)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI FreeConsole(void);
|
|
|
|
BOOL WINAPI FreeEnvironmentStringsA(LPSTR);
|
|
|
|
BOOL WINAPI FreeEnvironmentStringsW(LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FreeEnvironmentStrings WINELIB_NAME_AW(FreeEnvironmentStrings)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetACP(void);
|
|
|
|
LPCSTR WINAPI GetCommandLineA(void);
|
|
|
|
LPCWSTR WINAPI GetCommandLineW(void);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetCommandLine WINELIB_NAME_AW(GetCommandLine)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetComputerNameA(LPSTR,LPDWORD);
|
|
|
|
BOOL WINAPI GetComputerNameW(LPWSTR,LPDWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetComputerName WINELIB_NAME_AW(GetComputerName)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetConsoleCP(void);
|
|
|
|
BOOL WINAPI GetConsoleMode(HANDLE,LPDWORD);
|
|
|
|
UINT WINAPI GetConsoleOutputCP(void);
|
|
|
|
DWORD WINAPI GetConsoleTitleA(LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetConsoleTitleW(LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetConsoleTitle WINELIB_NAME_AW(GetConsoleTitle)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetCPInfo(UINT,LPCPINFO);
|
|
|
|
BOOL WINAPI GetCommMask(HANDLE, LPDWORD);
|
|
|
|
BOOL WINAPI GetCommModemStatus(HANDLE, LPDWORD);
|
|
|
|
HANDLE WINAPI GetCurrentProcess(void);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI GetCurrentProcessId(void);
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI GetCurrentThread(void);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI GetCurrentThreadId(void);
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetDateFormatA(LCID,DWORD,LPSYSTEMTIME,LPCSTR,LPSTR,INT);
|
|
|
|
INT WINAPI GetDateFormatW(LCID,DWORD,LPSYSTEMTIME,LPCWSTR,LPWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSTR WINAPI GetEnvironmentStringsA(void);
|
|
|
|
LPWSTR WINAPI GetEnvironmentStringsW(void);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetEnvironmentStrings WINELIB_NAME_AW(GetEnvironmentStrings)
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetEnvironmentVariable WINELIB_NAME_AW(GetEnvironmentVariable)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
|
|
|
|
BOOL WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetFileattributesEx WINELIB_NAME_AW(GetFileAttributesEx)
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetFileInformationByHandle(HFILE,BY_HANDLE_FILE_INFORMATION*);
|
|
|
|
DWORD WINAPI GetFileSize(HFILE,LPDWORD);
|
|
|
|
BOOL WINAPI GetFileTime(HFILE,LPFILETIME,LPFILETIME,LPFILETIME);
|
|
|
|
DWORD WINAPI GetFileType(HFILE);
|
|
|
|
DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*);
|
|
|
|
DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetFullPathName WINELIB_NAME_AW(GetFullPathName)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetHandleInformation(HANDLE,LPDWORD);
|
|
|
|
DWORD WINAPI GetLargestConsoleWindowSize(HANDLE);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI GetLocalTime(LPSYSTEMTIME);
|
|
|
|
DWORD WINAPI GetLogicalDrives(void);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetLongPathName WINELIB_NAME_AW(GetLongPathName)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetNumberOfConsoleInputEvents(HANDLE,LPDWORD);
|
|
|
|
BOOL WINAPI GetNumberOfConsoleMouseButtons(LPDWORD);
|
|
|
|
UINT WINAPI GetOEMCP(void);
|
|
|
|
DWORD WINAPI GetPriorityClass(HANDLE);
|
|
|
|
HANDLE WINAPI GetProcessHeap(void);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI GetProcessVersion(DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetShortPathName WINELIB_NAME_AW(GetShortPathName)
|
1999-02-26 12:11:13 +01:00
|
|
|
HFILE WINAPI GetStdHandle(DWORD);
|
|
|
|
BOOL WINAPI GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD);
|
|
|
|
BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
|
|
|
|
VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI GetSystemTime(LPSYSTEMTIME);
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetTimeFormatA(LCID,DWORD,LPSYSTEMTIME,LPCSTR,LPSTR,INT);
|
|
|
|
INT WINAPI GetTimeFormatW(LCID,DWORD,LPSYSTEMTIME,LPCWSTR,LPWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
|
|
|
|
LCID WINAPI GetThreadLocale(void);
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetThreadPriority(HANDLE);
|
|
|
|
BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS);
|
1999-02-26 12:11:13 +01:00
|
|
|
LPVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD);
|
|
|
|
DWORD WINAPI HeapCompact(HANDLE,DWORD);
|
|
|
|
HANDLE WINAPI HeapCreate(DWORD,DWORD,DWORD);
|
|
|
|
BOOL WINAPI HeapDestroy(HANDLE);
|
|
|
|
BOOL WINAPI HeapFree(HANDLE,DWORD,LPVOID);
|
|
|
|
BOOL WINAPI HeapLock(HANDLE);
|
|
|
|
LPVOID WINAPI HeapReAlloc(HANDLE,DWORD,LPVOID,DWORD);
|
|
|
|
DWORD WINAPI HeapSize(HANDLE,DWORD,LPVOID);
|
|
|
|
BOOL WINAPI HeapUnlock(HANDLE);
|
|
|
|
BOOL WINAPI HeapValidate(HANDLE,DWORD,LPCVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
LONG WINAPI InterlockedDecrement(LPLONG);
|
|
|
|
LONG WINAPI InterlockedExchange(LPLONG,LONG);
|
|
|
|
LONG WINAPI InterlockedIncrement(LPLONG);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
|
|
|
|
BOOL WINAPI IsProcessorFeaturePresent(DWORD);
|
|
|
|
BOOL WINAPI IsValidLocale(DWORD,DWORD);
|
|
|
|
BOOL WINAPI LocalFileTimeToFileTime(const FILETIME*,LPFILETIME);
|
|
|
|
BOOL WINAPI LockFile(HFILE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
HMODULE WINAPI MapHModuleSL(HMODULE16);
|
|
|
|
HMODULE16 WINAPI MapHModuleLS(HMODULE);
|
1999-02-09 16:46:25 +01:00
|
|
|
SEGPTR WINAPI MapLS(LPVOID);
|
|
|
|
LPVOID WINAPI MapSL(SEGPTR);
|
1999-02-26 12:11:13 +01:00
|
|
|
LPVOID WINAPI MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
LPVOID WINAPI MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPVOID);
|
|
|
|
BOOL WINAPI MoveFileA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI MoveFileW(LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define MoveFile WINELIB_NAME_AW(MoveFile)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI MoveFileExA(LPCSTR,LPCSTR,DWORD);
|
|
|
|
BOOL WINAPI MoveFileExW(LPCWSTR,LPCWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define MoveFileEx WINELIB_NAME_AW(MoveFileEx)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
|
|
|
|
INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,BOOL*);
|
|
|
|
HANDLE WINAPI OpenEventA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenEventW(DWORD,BOOL,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define OpenEvent WINELIB_NAME_AW(OpenEvent)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI OpenFileMappingA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenFileMappingW(DWORD,BOOL,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define OpenFileMapping WINELIB_NAME_AW(OpenFileMapping)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI OpenMutexA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenMutexW(DWORD,BOOL,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define OpenMutex WINELIB_NAME_AW(OpenMutex)
|
1999-02-26 12:11:13 +01:00
|
|
|
HANDLE WINAPI OpenProcess(DWORD,BOOL,DWORD);
|
|
|
|
HANDLE WINAPI OpenSemaphoreA(DWORD,BOOL,LPCSTR);
|
|
|
|
HANDLE WINAPI OpenSemaphoreW(DWORD,BOOL,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define OpenSemaphore WINELIB_NAME_AW(OpenSemaphore)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI PulseEvent(HANDLE);
|
|
|
|
BOOL WINAPI PurgeComm(HANDLE,DWORD);
|
|
|
|
DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define QueryDosDevice WINELIB_NAME_AW(QueryDosDevice)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER);
|
|
|
|
BOOL WINAPI ReadConsoleA(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
|
|
|
|
BOOL WINAPI ReadConsoleW(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define ReadConsole WINELIB_NAME_AW(ReadConsole)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,
|
1999-02-09 16:46:25 +01:00
|
|
|
COORD,LPDWORD);
|
|
|
|
#define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI ReleaseMutex(HANDLE);
|
|
|
|
BOOL WINAPI ReleaseSemaphore(HANDLE,LONG,LPLONG);
|
|
|
|
BOOL WINAPI ResetEvent(HANDLE);
|
|
|
|
DWORD WINAPI ResumeThread(HANDLE);
|
|
|
|
VOID WINAPI RtlFillMemory(LPVOID,UINT,UINT);
|
1999-03-27 17:06:55 +01:00
|
|
|
#define FillMemory RtlFillMemory
|
1999-02-26 12:11:13 +01:00
|
|
|
VOID WINAPI RtlMoveMemory(LPVOID,LPCVOID,UINT);
|
1999-03-27 17:06:55 +01:00
|
|
|
#define MoveMemory RtlMoveMemory
|
1999-02-26 12:11:13 +01:00
|
|
|
VOID WINAPI RtlZeroMemory(LPVOID,UINT);
|
1999-03-27 17:06:55 +01:00
|
|
|
#define ZeroMemory RtlZeroMemory
|
|
|
|
VOID WINAPI RtlCopyMemory(LPVOID,const VOID*, DWORD);
|
|
|
|
#define CopyMemory RtlCopyMemory
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
|
|
|
|
DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*);
|
1999-03-13 18:02:02 +01:00
|
|
|
#define SearchPath WINELIB_NAME_AW(SearchPath)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetCommMask(INT,DWORD);
|
|
|
|
BOOL WINAPI SetComputerNameA(LPCSTR);
|
|
|
|
BOOL WINAPI SetComputerNameW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define SetComputerName WINELIB_NAME_AW(SetComputerName)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetConsoleCursorPosition(HANDLE,COORD);
|
|
|
|
BOOL WINAPI SetConsoleMode(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetConsoleTitleA(LPCSTR);
|
|
|
|
BOOL WINAPI SetConsoleTitleW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define SetConsoleTitle WINELIB_NAME_AW(SetConsoleTitle)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetEndOfFile(HFILE);
|
|
|
|
BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define SetEnvironmentVariable WINELIB_NAME_AW(SetEnvironmentVariable)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetEvent(HANDLE);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI SetFileApisToANSI(void);
|
|
|
|
VOID WINAPI SetFileApisToOEM(void);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI SetFilePointer(HFILE,LONG,LPLONG,DWORD);
|
|
|
|
BOOL WINAPI SetFileTime(HFILE,const FILETIME*,const FILETIME*,
|
1999-02-09 16:46:25 +01:00
|
|
|
const FILETIME*);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD);
|
|
|
|
BOOL WINAPI SetPriorityClass(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetStdHandle(DWORD,HANDLE);
|
|
|
|
BOOL WINAPI SetSystemPowerState(BOOL,BOOL);
|
|
|
|
BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
|
|
|
|
DWORD WINAPI SetThreadAffinityMask(HANDLE,DWORD);
|
|
|
|
BOOL WINAPI SetThreadLocale(LCID);
|
|
|
|
BOOL WINAPI SetThreadPriority(HANDLE,INT);
|
|
|
|
BOOL WINAPI SetTimeZoneInformation(const LPTIME_ZONE_INFORMATION);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI Sleep(DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI SleepEx(DWORD,BOOL);
|
|
|
|
DWORD WINAPI SuspendThread(HANDLE);
|
|
|
|
BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI TlsAlloc(void);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI TlsFree(DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID WINAPI TlsGetValue(DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI TlsSetValue(DWORD,LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI UnMapLS(SEGPTR);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI UnlockFile(HFILE,DWORD,DWORD,DWORD,DWORD);
|
|
|
|
BOOL WINAPI UnmapViewOfFile(LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID WINAPI VirtualAlloc(LPVOID,DWORD,DWORD,DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI VirtualFree(LPVOID,DWORD,DWORD);
|
|
|
|
BOOL WINAPI VirtualLock(LPVOID,DWORD);
|
|
|
|
BOOL WINAPI VirtualProtect(LPVOID,DWORD,DWORD,LPDWORD);
|
|
|
|
BOOL WINAPI VirtualProtectEx(HANDLE,LPVOID,DWORD,DWORD,LPDWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI VirtualQuery(LPCVOID,LPMEMORY_BASIC_INFORMATION,DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI VirtualQueryEx(HANDLE,LPCVOID,LPMEMORY_BASIC_INFORMATION,DWORD);
|
|
|
|
BOOL WINAPI VirtualUnlock(LPVOID,DWORD);
|
|
|
|
BOOL WINAPI WaitCommEvent(HANDLE,LPDWORD,LPOVERLAPPED);
|
|
|
|
BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT,DWORD);
|
|
|
|
DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,BOOL,DWORD);
|
|
|
|
DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,BOOL,DWORD,BOOL);
|
|
|
|
DWORD WINAPI WaitForSingleObject(HANDLE,DWORD);
|
|
|
|
DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,BOOL);
|
1999-02-09 16:46:25 +01:00
|
|
|
SEGPTR WINAPI WOWGlobalAllocLock16(DWORD,DWORD,HGLOBAL16*);
|
|
|
|
DWORD WINAPI WOWCallback16(FARPROC16,DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WOWCallback16Ex(FARPROC16,DWORD,DWORD,LPVOID,LPDWORD);
|
|
|
|
HANDLE WINAPI WOWHandle32(WORD,WOW_HANDLE_TYPE);
|
|
|
|
BOOL WINAPI WriteConsoleA(HANDLE,LPCVOID,DWORD,LPDWORD,LPVOID);
|
|
|
|
BOOL WINAPI WriteConsoleW(HANDLE,LPCVOID,DWORD,LPDWORD,LPVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WriteConsole WINELIB_NAME_AW(WriteConsole)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI GetLastError(void);
|
|
|
|
LANGID WINAPI GetSystemDefaultLangID(void);
|
|
|
|
LCID WINAPI GetSystemDefaultLCID(void);
|
|
|
|
LANGID WINAPI GetUserDefaultLangID(void);
|
|
|
|
LCID WINAPI GetUserDefaultLCID(void);
|
|
|
|
VOID WINAPI SetLastError(DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
ATOM WINAPI AddAtomA(LPCSTR);
|
|
|
|
ATOM WINAPI AddAtomW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define AddAtom WINELIB_NAME_AW(AddAtom)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD);
|
|
|
|
UINT WINAPI CompareStringW(DWORD,DWORD,LPCWSTR,DWORD,LPCWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CompareString WINELIB_NAME_AW(CompareString)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateDirectory WINELIB_NAME_AW(CreateDirectory)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
|
|
|
|
BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define CreateDirectoryEx WINELIB_NAME_AW(CreateDirectoryEx)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define DefineHandleTable(w) ((w),TRUE)
|
|
|
|
ATOM WINAPI DeleteAtom(ATOM);
|
|
|
|
BOOL WINAPI DeleteFileA(LPCSTR);
|
|
|
|
BOOL WINAPI DeleteFileW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define DeleteFile WINELIB_NAME_AW(DeleteFile)
|
1999-02-26 12:11:13 +01:00
|
|
|
void WINAPI FatalAppExitA(UINT,LPCSTR);
|
|
|
|
void WINAPI FatalAppExitW(UINT,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FatalAppExit WINELIB_NAME_AW(FatalAppExit)
|
1999-02-26 12:11:13 +01:00
|
|
|
ATOM WINAPI FindAtomA(LPCSTR);
|
|
|
|
ATOM WINAPI FindAtomW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FindAtom WINELIB_NAME_AW(FindAtom)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI FindClose(HANDLE);
|
|
|
|
HANDLE16 WINAPI FindFirstFile16(LPCSTR,LPWIN32_FIND_DATAA);
|
|
|
|
HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA);
|
|
|
|
HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FindFirstFile WINELIB_NAME_AW(FindFirstFile)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL16 WINAPI FindNextFile16(HANDLE16,LPWIN32_FIND_DATAA);
|
|
|
|
BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA);
|
|
|
|
BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FindNextFile WINELIB_NAME_AW(FindNextFile)
|
1999-02-26 12:11:13 +01:00
|
|
|
HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
|
|
|
|
HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define FindResource WINELIB_NAME_AW(FindResource)
|
|
|
|
VOID WINAPI FreeLibrary16(HINSTANCE16);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI FreeLibrary(HMODULE);
|
|
|
|
#define FreeModule(handle) FreeLibrary(handle)
|
|
|
|
#define FreeProcInstance(proc) /*nothing*/
|
|
|
|
BOOL WINAPI FreeResource(HGLOBAL);
|
|
|
|
UINT WINAPI GetAtomNameA(ATOM,LPSTR,INT);
|
|
|
|
UINT WINAPI GetAtomNameW(ATOM,LPWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetAtomName WINELIB_NAME_AW(GetAtomName)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetCurrentDirectoryA(UINT,LPSTR);
|
|
|
|
UINT WINAPI GetCurrentDirectoryW(UINT,LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetCurrentDirectory WINELIB_NAME_AW(GetCurrentDirectory)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
|
|
|
BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetDiskFreeSpace WINELIB_NAME_AW(GetDiskFreeSpace)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
|
|
|
|
BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetDiskFreeSpaceEx WINELIB_NAME_AW(GetDiskFreeSpaceEx)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetDriveTypeA(LPCSTR);
|
|
|
|
UINT WINAPI GetDriveTypeW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetDriveType WINELIB_NAME_AW(GetDriveType)
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetFileAttributesA(LPCSTR);
|
|
|
|
DWORD WINAPI GetFileAttributesW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetFileAttributes WINELIB_NAME_AW(GetFileAttributes)
|
1999-02-26 12:11:13 +01:00
|
|
|
#define GetFreeSpace(w) (0x100000L)
|
|
|
|
UINT WINAPI GetLogicalDriveStringsA(UINT,LPSTR);
|
|
|
|
UINT WINAPI GetLogicalDriveStringsW(UINT,LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetLogicalDriveStrings WINELIB_NAME_AW(GetLogicalDriveStrings)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT);
|
|
|
|
INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
|
|
|
|
DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
|
1999-02-26 12:11:13 +01:00
|
|
|
HMODULE WINAPI GetModuleHandleA(LPCSTR);
|
|
|
|
HMODULE WINAPI GetModuleHandleW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
|
|
|
|
UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
|
|
|
|
INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection)
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
|
|
|
|
DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetPrivateProfileSectionNames WINELIB_NAME_AW(GetPrivateProfileSectionNames)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT,LPCSTR);
|
|
|
|
INT WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetPrivateProfileString WINELIB_NAME_AW(GetPrivateProfileString)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
|
|
|
BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetPrivateProfileStruct WINELIB_NAME_AW(GetPrivateProfileStruct)
|
1999-02-26 12:11:13 +01:00
|
|
|
FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
|
|
|
|
UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
|
|
|
|
UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetProfileInt WINELIB_NAME_AW(GetProfileInt)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
|
|
|
|
INT WINAPI GetProfileSectionW(LPCWSTR,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetProfileSection WINELIB_NAME_AW(GetProfileSection)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT);
|
|
|
|
INT WINAPI GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetProfileString WINELIB_NAME_AW(GetProfileString)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD);
|
|
|
|
BOOL WINAPI GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetStringType WINELIB_NAME_AW(GetStringType)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
|
|
|
|
UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR);
|
|
|
|
UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetTempFileName WINELIB_NAME_AW(GetTempFileName)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetTempPathA(UINT,LPSTR);
|
|
|
|
UINT WINAPI GetTempPathW(UINT,LPWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetTempPath WINELIB_NAME_AW(GetTempPath)
|
1999-02-26 12:11:13 +01:00
|
|
|
LONG WINAPI GetVersion(void);
|
|
|
|
BOOL WINAPI GetExitCodeProcess(HANDLE,LPDWORD);
|
|
|
|
BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
|
|
|
|
BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetVolumeInformation WINELIB_NAME_AW(GetVolumeInformation)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
|
|
|
|
UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define GetWindowsDirectory WINELIB_NAME_AW(GetWindowsDirectory)
|
|
|
|
HGLOBAL16 WINAPI GlobalAlloc16(UINT16,DWORD);
|
1999-02-26 12:11:13 +01:00
|
|
|
HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
|
|
|
|
DWORD WINAPI GlobalCompact(DWORD);
|
|
|
|
UINT WINAPI GlobalFlags(HGLOBAL);
|
1999-02-09 16:46:25 +01:00
|
|
|
HGLOBAL16 WINAPI GlobalFree16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
HGLOBAL WINAPI GlobalFree(HGLOBAL);
|
|
|
|
HGLOBAL WINAPI GlobalHandle(LPCVOID);
|
1999-02-09 16:46:25 +01:00
|
|
|
WORD WINAPI GlobalFix16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
VOID WINAPI GlobalFix(HGLOBAL);
|
1999-02-09 16:46:25 +01:00
|
|
|
LPVOID WINAPI GlobalLock16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
LPVOID WINAPI GlobalLock(HGLOBAL);
|
|
|
|
HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
DWORD WINAPI GlobalSize16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
DWORD WINAPI GlobalSize(HGLOBAL);
|
1999-02-09 16:46:25 +01:00
|
|
|
VOID WINAPI GlobalUnfix16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
VOID WINAPI GlobalUnfix(HGLOBAL);
|
1999-02-09 16:46:25 +01:00
|
|
|
BOOL16 WINAPI GlobalUnlock16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GlobalUnlock(HGLOBAL);
|
1999-02-09 16:46:25 +01:00
|
|
|
BOOL16 WINAPI GlobalUnWire16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI GlobalUnWire(HGLOBAL);
|
1999-02-09 16:46:25 +01:00
|
|
|
SEGPTR WINAPI GlobalWire16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
LPVOID WINAPI GlobalWire(HGLOBAL);
|
|
|
|
BOOL WINAPI InitAtomTable(DWORD);
|
|
|
|
BOOL WINAPI IsBadCodePtr(FARPROC);
|
|
|
|
BOOL WINAPI IsBadHugeReadPtr(LPCVOID,UINT);
|
|
|
|
BOOL WINAPI IsBadHugeWritePtr(LPVOID,UINT);
|
|
|
|
BOOL WINAPI IsBadReadPtr(LPCVOID,UINT);
|
|
|
|
BOOL WINAPI IsBadStringPtrA(LPCSTR,UINT);
|
|
|
|
BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define IsBadStringPtr WINELIB_NAME_AW(IsBadStringPtr)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI IsBadWritePtr(LPVOID,UINT);
|
|
|
|
BOOL WINAPI IsDBCSLeadByte(BYTE);
|
1999-02-09 16:46:25 +01:00
|
|
|
HINSTANCE16 WINAPI LoadLibrary16(LPCSTR);
|
1999-02-26 12:11:13 +01:00
|
|
|
HMODULE WINAPI LoadLibraryA(LPCSTR);
|
|
|
|
HMODULE WINAPI LoadLibraryW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define LoadLibrary WINELIB_NAME_AW(LoadLibrary)
|
1999-02-26 12:11:13 +01:00
|
|
|
HMODULE WINAPI LoadLibraryExA(LPCSTR,HFILE,DWORD);
|
|
|
|
HMODULE WINAPI LoadLibraryExW(LPCWSTR,HFILE,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define LoadLibraryEx WINELIB_NAME_AW(LoadLibraryEx)
|
|
|
|
HINSTANCE16 WINAPI LoadModule16(LPCSTR,LPVOID);
|
1999-02-26 12:11:13 +01:00
|
|
|
HINSTANCE WINAPI LoadModule(LPCSTR,LPVOID);
|
|
|
|
HGLOBAL WINAPI LoadResource(HMODULE,HRSRC);
|
|
|
|
HLOCAL WINAPI LocalAlloc(UINT,DWORD);
|
|
|
|
UINT WINAPI LocalCompact(UINT);
|
|
|
|
UINT WINAPI LocalFlags(HLOCAL);
|
|
|
|
HLOCAL WINAPI LocalFree(HLOCAL);
|
|
|
|
HLOCAL WINAPI LocalHandle(LPCVOID);
|
|
|
|
LPVOID WINAPI LocalLock(HLOCAL);
|
|
|
|
HLOCAL WINAPI LocalReAlloc(HLOCAL,DWORD,UINT);
|
|
|
|
UINT WINAPI LocalShrink(HGLOBAL,UINT);
|
|
|
|
UINT WINAPI LocalSize(HLOCAL);
|
|
|
|
BOOL WINAPI LocalUnlock(HLOCAL);
|
|
|
|
LPVOID WINAPI LockResource(HGLOBAL);
|
|
|
|
#define LockSegment(handle) GlobalFix((HANDLE)(handle))
|
|
|
|
#define MakeProcInstance(proc,inst) (proc)
|
1999-02-09 16:46:25 +01:00
|
|
|
HFILE16 WINAPI OpenFile16(LPCSTR,OFSTRUCT*,UINT16);
|
1999-02-26 12:11:13 +01:00
|
|
|
HFILE WINAPI OpenFile(LPCSTR,OFSTRUCT*,UINT);
|
|
|
|
VOID WINAPI OutputDebugStringA(LPCSTR);
|
|
|
|
VOID WINAPI OutputDebugStringW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define OutputDebugString WINELIB_NAME_AW(OutputDebugString)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI RemoveDirectoryA(LPCSTR);
|
|
|
|
BOOL WINAPI RemoveDirectoryW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define RemoveDirectory WINELIB_NAME_AW(RemoveDirectory)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI SetCurrentDirectoryA(LPCSTR);
|
|
|
|
BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define SetCurrentDirectory WINELIB_NAME_AW(SetCurrentDirectory)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI SetErrorMode(UINT);
|
|
|
|
BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
|
|
|
|
BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define SetFileAttributes WINELIB_NAME_AW(SetFileAttributes)
|
1999-02-26 12:11:13 +01:00
|
|
|
UINT WINAPI SetHandleCount(UINT);
|
|
|
|
#define SetSwapAreaSize(w) (w)
|
|
|
|
DWORD WINAPI SizeofResource(HMODULE,HRSRC);
|
|
|
|
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
|
|
|
|
DWORD WINAPI VerLanguageNameA(UINT,LPSTR,UINT);
|
|
|
|
DWORD WINAPI VerLanguageNameW(UINT,LPWSTR,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define VerLanguageName WINELIB_NAME_AW(VerLanguageName)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
1999-03-13 18:02:02 +01:00
|
|
|
#define WritePrivateProfileString WINELIB_NAME_AW(WritePrivateProfileString)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
|
1999-03-13 18:02:02 +01:00
|
|
|
#define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
|
|
|
BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WritePrivateProfileStruct WINELIB_NAME_AW(WritePrivateProfileStruct)
|
1999-02-26 12:11:13 +01:00
|
|
|
BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
|
|
|
|
BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define WriteProfileString WINELIB_NAME_AW(WriteProfileString)
|
|
|
|
#define Yield32()
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSTR WINAPI lstrcatA(LPSTR,LPCSTR);
|
|
|
|
LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrcat WINELIB_NAME_AW(lstrcat)
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSTR WINAPI lstrcatnA(LPSTR,LPCSTR,INT);
|
|
|
|
LPWSTR WINAPI lstrcatnW(LPWSTR,LPCWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrcatn WINELIB_NAME_AW(lstrcatn)
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR);
|
|
|
|
LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrcpy WINELIB_NAME_AW(lstrcpy)
|
1999-02-26 12:11:13 +01:00
|
|
|
LPSTR WINAPI lstrcpynA(LPSTR,LPCSTR,INT);
|
|
|
|
LPWSTR WINAPI lstrcpynW(LPWSTR,LPCWSTR,INT);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrcpyn WINELIB_NAME_AW(lstrcpyn)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI lstrlenA(LPCSTR);
|
|
|
|
INT WINAPI lstrlenW(LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrlen WINELIB_NAME_AW(lstrlen)
|
1999-02-26 12:11:13 +01:00
|
|
|
HINSTANCE WINAPI WinExec(LPCSTR,UINT);
|
|
|
|
LONG WINAPI _hread(HFILE,LPVOID,LONG);
|
|
|
|
LONG WINAPI _hwrite(HFILE,LPCSTR,LONG);
|
|
|
|
HFILE WINAPI _lcreat(LPCSTR,INT);
|
|
|
|
HFILE WINAPI _lclose(HFILE);
|
|
|
|
LONG WINAPI _llseek(HFILE,LONG,INT);
|
|
|
|
HFILE WINAPI _lopen(LPCSTR,INT);
|
|
|
|
UINT WINAPI _lread(HFILE,LPVOID,UINT);
|
|
|
|
UINT WINAPI _lwrite(HFILE,LPCSTR,UINT);
|
1999-02-09 16:46:25 +01:00
|
|
|
SEGPTR WINAPI WIN16_GlobalLock16(HGLOBAL16);
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI lstrcmpA(LPCSTR,LPCSTR);
|
|
|
|
INT WINAPI lstrcmpW(LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrcmp WINELIB_NAME_AW(lstrcmp)
|
1999-02-26 12:11:13 +01:00
|
|
|
INT WINAPI lstrcmpiA(LPCSTR,LPCSTR);
|
|
|
|
INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR);
|
1999-02-09 16:46:25 +01:00
|
|
|
#define lstrcmpi WINELIB_NAME_AW(lstrcmpi)
|
1998-12-24 17:24:43 +01:00
|
|
|
|
|
|
|
|
1998-11-08 14:14:55 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
1996-04-14 15:21:20 +02:00
|
|
|
#endif /* __WINE_WINBASE_H */
|