2002-03-09 23:29:33 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) the Wine project
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
Release 960606
Wed Jun 5 20:13:54 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/button.c] [controls/listbox.c]
Fixed wParam of WM_DRAWITEM message.
* [if1632/Makefile.in] [loader/builtin.c]
Remove WPROCS32 DLL, as the relay code can call Wine routines
directly.
* [loader/module.c] [loader/ne_image.c]
Fixed initial stack layout for self-loading modules.
* [tools/build.c]
Fixed data segment building for Win16 modules.
* [windows/defdlg.c]
Implemented Win32 versions of DefDlgProc().
* [windows/dialog.c]
Merged Win16 and Win32 dialog code.
Added support for control extra data in dialog item template.
* [windows/win.c]
Unified Win16 and Win32 versions of CreateWindow().
Implemented Win32 version of GetWindowLong().
* [windows/winproc.c]
Changed the implementation of window procedures, so that 16-bit
winprocs are valid segmented pointers.
Sun Jun 2 16:39:46 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [misc/registry.c]
Fixed another bug in the w95 loader. Quietened some debug output.
Sun Jun 2 10:00:22 1996 Ulrich Schmid <uschmid@mail.hh.provi.de>
* [windows/winproc.c]
Bug fix: WM_PARENTNOTIFY: don't fall through to WM_SETTEXT.
Sat Jun 1 12:37:22 1996 Tristan Tarrant <tst@sthinc.demon.co.uk>
* [resources/TODO] [resources/sysres_It.rc]
Updated font dialog box.
Thu May 30 21:05:19 1996 Albrecht Kleine <kleine@ak.sax.de>
* [include/commdlg.h] [misc/commdlg.c]
ChooseFont() and ChooseColor():
Bugfixes and added more support for some CF_* and CC_* flags:
dialog templates and font size control.
Bugfix in structure definition of CHOOSECOLOR definition.
* [ipc/dde_proc.c] [windows/event.c]
Replaced SendMessage with SendMessage16 and added inclusion of
dde_proc.h for error-free compilation of ipc module.
Thu May 30 19:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [windows/scroll.c]
Made ScrollDC to save/restore current clipping region.
* [misc/clipboard.c] [windows/event.c]
Implemented most of the previously missing features (not tested),
improved text pasting from/to X.
* [if1632/user.spec] [if1632/gdi.spec] [objects/dc.c]
[objects/gdiobj.c] [objects/clipping.c] [windows/dce.c]
[windows/winpos.c] [windows/painting.c]
Updated DCE code, implemented dynamic invalidation of owned DCs.
This fixes a lot of problems with scrolling in WinWord. Not
sure about the effect on -desktop.
Wed May 29 23:35:44 1996 Jukka Iivonen <iivonen@cc.helsinki.fi>
* [win32/time.c] [if1632/kernel32.spec]
Added SetSystemTime and SetTimeZoneInformation.
* [if1632/kernel32.spec]
Added lstrcat, lstrcatA, lstrcmp, lstrcmpA, lstrcpy, lstrlen.
* [include/windows.h]
Added SYSTEM_POWER_STATUS structure and prototypes for
GetSystemPowerStatus, SetSystemPowerState, SetSystemTime.
* [include/kernel32.h]
Added a prototype for SetTimeZoneInformation.
* [win32/environment.c] [if1632/kernel32.spec]
Added GetSystemPowerStatus and SetSystemPowerState stubs.
1996-06-06 18:38:27 +00:00
|
|
|
#ifndef __WINE_WINDOWS_H
|
|
|
|
#define __WINE_WINDOWS_H
|
|
|
|
|
2000-11-30 01:31:28 +00:00
|
|
|
#ifdef __WINE__
|
|
|
|
#error Wine should not include windows.h internally
|
|
|
|
#endif
|
|
|
|
|
2002-10-23 20:16:23 +00:00
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
|
|
|
|
/* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
|
|
|
|
# pragma warning(disable:4116)
|
|
|
|
#endif
|
|
|
|
|
2001-05-07 18:18:33 +00:00
|
|
|
#if defined(RC_INVOKED) && !defined(NOWINRES)
|
|
|
|
#include "winresrc.h"
|
|
|
|
#else /* RC_INVOKED && !NOWINRES */
|
|
|
|
|
2000-10-13 23:13:01 +00:00
|
|
|
/* All the basic includes */
|
2002-12-12 23:34:01 +00:00
|
|
|
#include "excpt.h"
|
2000-02-10 19:03:02 +00:00
|
|
|
#include "windef.h"
|
1998-12-26 11:56:22 +00:00
|
|
|
#include "winbase.h"
|
1998-12-15 11:15:35 +00:00
|
|
|
#include "wingdi.h"
|
|
|
|
#include "winuser.h"
|
2000-10-13 23:13:01 +00:00
|
|
|
#include "winnls.h"
|
|
|
|
#include "wincon.h"
|
|
|
|
#include "winver.h"
|
1999-02-09 15:46:25 +00:00
|
|
|
#include "winreg.h"
|
|
|
|
#include "winnetwk.h"
|
2000-10-13 23:13:01 +00:00
|
|
|
|
|
|
|
/* Not so essential ones */
|
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
|
|
|
|
|
|
#include "cderr.h"
|
|
|
|
#include "dde.h"
|
|
|
|
#include "ddeml.h"
|
|
|
|
#include "dlgs.h"
|
1999-02-09 15:46:25 +00:00
|
|
|
#include "lzexpand.h"
|
1999-05-22 16:19:20 +00:00
|
|
|
#include "mmsystem.h"
|
2002-12-13 00:32:56 +00:00
|
|
|
#include "nb30.h"
|
2000-10-13 23:13:01 +00:00
|
|
|
#include "rpc.h"
|
|
|
|
#include "shellapi.h"
|
|
|
|
/* #include "winperf.h" */
|
|
|
|
|
2001-11-14 21:26:23 +00:00
|
|
|
#ifndef WINE_NOWINSOCK
|
2000-10-13 23:13:01 +00:00
|
|
|
#include "winsock2.h"
|
2001-11-14 21:26:23 +00:00
|
|
|
#endif /* WINE_NOWINSOCK */
|
2000-10-13 23:13:01 +00:00
|
|
|
|
|
|
|
#ifndef NOCRYPT
|
|
|
|
#include "wincrypt.h"
|
2002-12-13 00:32:56 +00:00
|
|
|
/* #include "winefs.h" */
|
|
|
|
/* #include "winscard.h" */
|
2000-10-13 23:13:01 +00:00
|
|
|
#endif /* !NOCRYPT */
|
|
|
|
|
|
|
|
#ifndef NOGDI
|
2000-03-19 12:45:06 +00:00
|
|
|
#include "winspool.h"
|
2000-10-13 23:13:01 +00:00
|
|
|
#ifdef INC_OLE1
|
|
|
|
#include "ole.h"
|
|
|
|
#else
|
|
|
|
#include "ole2.h"
|
|
|
|
#endif
|
2002-12-13 00:32:56 +00:00
|
|
|
#include "commdlg.h"
|
2000-10-13 23:13:01 +00:00
|
|
|
#endif /* !NOGDI */
|
|
|
|
|
|
|
|
#endif /* !WIN32_LEAN_AND_MEAN */
|
|
|
|
|
2002-12-13 00:32:56 +00:00
|
|
|
/* #include "stralign.h" */
|
|
|
|
|
2000-10-13 23:13:01 +00:00
|
|
|
#ifdef INC_OLE2
|
|
|
|
#include "ole2.h"
|
|
|
|
#endif /* INC_OLE2 */
|
|
|
|
|
|
|
|
#ifndef NOSERVICE
|
|
|
|
#include "winsvc.h"
|
|
|
|
#endif /* !NOSERVICE */
|
|
|
|
|
|
|
|
#ifndef NOMCX
|
|
|
|
#include "mcx.h"
|
|
|
|
#endif /* !NOMCX */
|
|
|
|
|
|
|
|
#ifndef NOIMM
|
|
|
|
#include "imm.h"
|
|
|
|
#endif /* !NOIMM */
|
|
|
|
|
1999-02-09 15:46:25 +00:00
|
|
|
|
|
|
|
#if 0
|
|
|
|
Where does this belong? Nobody uses this stuff anyway.
|
1993-07-08 17:37:25 +00:00
|
|
|
typedef struct {
|
|
|
|
BYTE i; /* much more .... */
|
|
|
|
} KANJISTRUCT;
|
|
|
|
typedef KANJISTRUCT *LPKANJISTRUCT;
|
|
|
|
typedef KANJISTRUCT *NPKANJISTRUCT;
|
|
|
|
typedef KANJISTRUCT *PKANJISTRUCT;
|
|
|
|
|
Release 971116
Sun Nov 16 07:42:44 1997 Alex Korobka <alex@trantor.pharm.sunysb.edu>
* [windows/dce.c] [windows/clipboard.c] [windows/nonclient.c]
Bug fixes.
* [misc/shell.c] [resources/*]
New "About" dialog.
Sat Nov 15 17:30:18 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [configure.in] [Makefile.in]
Replaced --with-library option by --disable-emulator. The default
is now to build both the library and the emulator.
Renamed --with options to --enable to follow autoconf guidelines.
* [loader/main.c] [miscemu/main.c] (New file)
Split initialization in WinelibInit/EmulatorInit.
* [loader/*.c]
Removed all remaining #ifdef's WINELIB.
* [controls/widgets.c] [windows/mdi.c]
Converted MDIClientWndProc to 32-bit.
* [debugger/break.c] [if1632/signal.c] [include/selectors.h]
[scheduler/thread.c]
Code and data selector values are now computed at run-time.
* [library/libres.c]
Moved to loader/ directory.
* [misc/main.c] [misc/version.c] (New file)
Moved all version stuff to version.c. Cleaned up a bit.
* [msdos/dpmi.c]
Update the REALMODECALL structure on return from real-mode
interrupt.
* [windows/event.c] [windows/keyboard.c]
Changed the way event coordinates are determined. Don't rely on
the ConfigureNotify event values. This should fix all problems
with cursor position in -desktop and -managed modes.
Sat Nov 15 16:09:36 1997 Slaven Rezic <eserte@cs.tu-berlin.de>
* [controls/button.c]
(BUTTON_CheckAutoRadioButton): Prevent possible endless loop.
Wed Nov 12 03:42:45 1997 Chris Faherty <chrisf@america.com>
* [misc/ver.c]
Changed VerInstall32A to assume srcdir as destination if destdir
is blank. This was causing alot of DLL installation into SYSTEM
directory to fail.
* [loader/ne_image.c]
NE_LoadSegment buffer[100] was too small and getting overruns.
Changed it to buffer[200].
Sat Nov 8 06:09:57 1997 Len White <phreak@cgocable.net>
* [misc/ddeml.c] [include/ddeml.h] [if1632/ddeml.spec]
Added stub functions DdeConnectList(), DdeQueryNextServer(),
DdeDisconnectList(), DdeSetUserHandle(), DdeAbandonTransaction(),
DdePostAdvise(), DdeCreateDataHandle(), DdeAddData(), DdeGetData(),
DdeAccessData(), DdeUnaccessData(), DdeEnableCallback(),
DdeCmpStringHandles().
Fri Nov 7 19:44:26 1997 Olaf Flebbe <o.flebbe@science-computing.de>
* [files/directory.c]
Fix typo in directory.c [broke loading of cdplayer on nt40]
* [misc/main.c]
Implemented -winver nt40.
* [loader/resource.c] [user32.spec]
Stubs for CopyAcceleratorTable, Destroy AcceleratorTable.
Thu Nov 6 22:37:04 1997 Morten Welinder <welinder@rentec.com>
* [files/drive.c]
(GetDiskFreeSpace32A): Cap at 2GB.
* [include/windows.h]
Prototype DrawIconEx and CreateDIBSection32.
Define OBM_RADIOCHECK.
Add DI_* macros.
* [objects/dib.c] [if1632/gdi.spec]
CreateDIBSection is a WINAPI. Renamed to CreateDIBSection32.
Implement CreateDIBSection16.
* [if1632/user.spec] [if1632/user32.spec]
Add DrawIconEx.
* [objects/cursoricon.c]
(CopyIcon32): Fix bogus implementation.
* [objects/bitmap.c]
(CopyBitmap32): New function.
(CopyImage32): Do bitmaps.
* [graphics/x11drv/text.c]
(X11DRV_ExtTextOut): Change ascent and descent default to avoid
zero-thinkness overstrike line.
* [include/debugstr.h] [misc/debugstr.c]
New files.
* [msdos/dpmi.c]
Don't prototype do_mscdex. In INT_Int31Handler, handle real-mode
int 0x21, ah=0x52.
* [msdos/int2f.c]
Add dummys for 0x1681 and 0x1682.
* [misc/registry.c]
Fix memory leaks in RegDeleteKey32W.
* [objects/text.c]
In TEXT_NextLine, fix another off-by-one bug.
* [include/bitmaps/obm_radiocheck]
New file. (It a small circle used to radio-button menu items
when selected.)
* [objects/oembitmap.c]
Add obm_radiocheck.
* [include/windows.h] [if1632/user32.spec] [controls/menu.c]
[if1632/user.spec]
Define CheckMenuRadioItem{16,32}. Define GetMenuItemRect{16,32}.
Wed Nov 5 11:30:14 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [misc/main.c]
Auto adjust versions depending on binary.
Tue Nov 4 15:21:00 1997 Kristian Nielsen <kristian.nielsen@risoe.dk>
* [controls/listbox.c]
Paint full background in listbox items with tab stops enabled.
* [if1632/thunk.c]
Copy some more message parameter structures (DRAWITEMSTRUCT16,
COMPAREITEMSTRUCT16) to the stack segment to fix broken programs
that need this.
* [windows/dce.c]
Only clip sibling windows when the parent has the WS_CLIPSIBLINGS
style set.
* [windows/focus.c]
Make order of events in FOCUS_SwitchFocus() reflect API docs.
* [windows/defdlg.c]
Fix problem with loss of focus in some dialogs.
* [win32/code_page.c]
Fix return value for MultiByteToWideChar().
* [BUGS]
BCW now works.
1997-11-16 17:38:29 +00:00
|
|
|
BOOL16 WINAPI CheckMenuRadioButton16(HMENU16,UINT16,UINT16,UINT16,BOOL16);
|
1999-02-26 11:11:13 +00:00
|
|
|
BOOL WINAPI CheckMenuRadioButton(HMENU,UINT,UINT,UINT,BOOL);
|
|
|
|
WORD WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE);
|
1999-01-01 18:57:33 +00:00
|
|
|
|
1999-02-09 15:46:25 +00:00
|
|
|
#endif /* 0 */
|
1996-07-12 19:02:39 +00:00
|
|
|
|
2001-05-07 18:18:33 +00:00
|
|
|
#endif /* RC_INVOKED && !NOWINRES */
|
Release 960606
Wed Jun 5 20:13:54 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/button.c] [controls/listbox.c]
Fixed wParam of WM_DRAWITEM message.
* [if1632/Makefile.in] [loader/builtin.c]
Remove WPROCS32 DLL, as the relay code can call Wine routines
directly.
* [loader/module.c] [loader/ne_image.c]
Fixed initial stack layout for self-loading modules.
* [tools/build.c]
Fixed data segment building for Win16 modules.
* [windows/defdlg.c]
Implemented Win32 versions of DefDlgProc().
* [windows/dialog.c]
Merged Win16 and Win32 dialog code.
Added support for control extra data in dialog item template.
* [windows/win.c]
Unified Win16 and Win32 versions of CreateWindow().
Implemented Win32 version of GetWindowLong().
* [windows/winproc.c]
Changed the implementation of window procedures, so that 16-bit
winprocs are valid segmented pointers.
Sun Jun 2 16:39:46 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [misc/registry.c]
Fixed another bug in the w95 loader. Quietened some debug output.
Sun Jun 2 10:00:22 1996 Ulrich Schmid <uschmid@mail.hh.provi.de>
* [windows/winproc.c]
Bug fix: WM_PARENTNOTIFY: don't fall through to WM_SETTEXT.
Sat Jun 1 12:37:22 1996 Tristan Tarrant <tst@sthinc.demon.co.uk>
* [resources/TODO] [resources/sysres_It.rc]
Updated font dialog box.
Thu May 30 21:05:19 1996 Albrecht Kleine <kleine@ak.sax.de>
* [include/commdlg.h] [misc/commdlg.c]
ChooseFont() and ChooseColor():
Bugfixes and added more support for some CF_* and CC_* flags:
dialog templates and font size control.
Bugfix in structure definition of CHOOSECOLOR definition.
* [ipc/dde_proc.c] [windows/event.c]
Replaced SendMessage with SendMessage16 and added inclusion of
dde_proc.h for error-free compilation of ipc module.
Thu May 30 19:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
* [windows/scroll.c]
Made ScrollDC to save/restore current clipping region.
* [misc/clipboard.c] [windows/event.c]
Implemented most of the previously missing features (not tested),
improved text pasting from/to X.
* [if1632/user.spec] [if1632/gdi.spec] [objects/dc.c]
[objects/gdiobj.c] [objects/clipping.c] [windows/dce.c]
[windows/winpos.c] [windows/painting.c]
Updated DCE code, implemented dynamic invalidation of owned DCs.
This fixes a lot of problems with scrolling in WinWord. Not
sure about the effect on -desktop.
Wed May 29 23:35:44 1996 Jukka Iivonen <iivonen@cc.helsinki.fi>
* [win32/time.c] [if1632/kernel32.spec]
Added SetSystemTime and SetTimeZoneInformation.
* [if1632/kernel32.spec]
Added lstrcat, lstrcatA, lstrcmp, lstrcmpA, lstrcpy, lstrlen.
* [include/windows.h]
Added SYSTEM_POWER_STATUS structure and prototypes for
GetSystemPowerStatus, SetSystemPowerState, SetSystemTime.
* [include/kernel32.h]
Added a prototype for SetTimeZoneInformation.
* [win32/environment.c] [if1632/kernel32.spec]
Added GetSystemPowerStatus and SetSystemPowerState stubs.
1996-06-06 18:38:27 +00:00
|
|
|
#endif /* __WINE_WINDOWS_H */
|