Commit graph

101 commits

Author SHA1 Message Date
Alexandre Julliard
18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Alexandre Julliard
aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard
a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard
7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Stefan Leichter
2c7567251e Moved implementation of Get/SetClassLong from ascii to unicode. 2002-11-21 21:48:27 +00:00
Alexandre Julliard
0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Michael Stefaniuc
bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard
0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Bill Medland
0ca07c972d It is legal to call UnregisterClass with an hInstance of zero. 2001-11-20 18:53:16 +00:00
Joshua Thielen
d9ed57ac99 Local classes registered with USER instance handle now are now found
in CLASS_FindClassByAtom.
2001-11-16 18:11:43 +00:00
François Gouget
1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Joshua Thielen
40a35aa2fb For global classes, GetClassInfo now returns a handle to USER. 2001-11-05 23:49:54 +00:00
Alexandre Julliard
8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Francois Gouget
386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Alexandre Julliard
e6d90ea98f Fixed locking of class list.
Print ERR when accessing classes of other processes.
2001-10-09 23:27:17 +00:00
Alexandre Julliard
d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard
d44e495aa4 Fixed GetClassLong to return full 32 bits for all items.
Removed GCW_* definitions that don't exist in Win32.
2001-08-20 18:09:39 +00:00
Alexandre Julliard
f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Ulrich Weigand
cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Patrik Stridvall
2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
Alexandre Julliard
982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Andreas Mohr
1af53cbb2a - README update
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Alexandre Julliard
9877906b26 Removed dependencies on the internals of the CLASS structure.
Added support for having both ASCII and Unicode window procedures for
builtin classes.
2000-12-07 23:39:16 +00:00
Patrik Stridvall
2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Huw D M Davies
2f245af009 Don't try to delete a wndclass background brush if it's a COLOR_*
constant.
2000-09-12 23:38:33 +00:00
Alexandre Julliard
f681cd091e Fixed RegisterClass last error code on atom creation failure. 2000-08-23 19:18:44 +00:00
Alexandre Julliard
c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Andreas Mohr
2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Noomen Hamza
1040eaf747 GetClassInfo should return global classes even if the hInstance
parameter is different from the one passed to the RegisterClass
function.
2000-07-09 12:21:07 +00:00
James Hatheway
9fa09e7ecb We must return the atom of the class in GetClassInfoEx instead of just
TRUE.
2000-06-18 17:19:38 +00:00
Patrik Stridvall
2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard
b849d79104 Moved global atoms to the server (based on the work of Sergei
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +00:00
Phillip Ezolt
a1f092a1d3 Added missing goto in switch statement. 2000-02-10 22:37:24 +00:00
Jeremy White
d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Pierre Mageau
4ac8db783d Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Marcus Meissner
4380621702 Use in GetClassInfoW the same hack for systemclasses as in
GetClassInfoA (winword 97 with native comctl32).
1999-09-03 12:28:20 +00:00
Alexandre Julliard
359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Huw D M Davies
4e700ab90e Bugfix for TRACE in UnregisterClass. 1999-05-08 09:27:25 +00:00
Patrik Stridvall
a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Guy Albertelli
2fa281f90f Fix locking with proper calls to WIN_ReleaseWndPtr. 1999-04-24 11:54:40 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Francois Boisvert
6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner
317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Michael Veksler
ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00