Commit Graph

51 Commits

Author SHA1 Message Date
Nikolay Sivov d07a7bbba5 user.exe: Fully convert MSG16 to MSG in IsDialogMessage() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 22:38:35 +01:00
Nikolay Sivov eee6332e95 user.exe: Fix MapDialogRect() to actually convert passed rectangle (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:17:39 +01:00
Alexandre Julliard b266fcaa66 Revert "user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow."
This reverts commit 9ac7bca209.
The bug has now been fixed in winoldap instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:53 +09:00
Michael Stefaniuc 7be37c9874 user.exe16: Fix a misplaced closing bracket (PVS-Studio).
Previous code was setting ret to 1 for negative return values of
vsnprintf; that would fail on glibc 2.0.6 and older.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 13:28:51 +09:00
Akihiro Sagawa 9ac7bca209 user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow. 2015-08-06 23:36:02 +09:00
Austin English 39730102aa user.exe16: Downgrade a couple MESSAGEs to WARNs. 2014-04-16 10:52:54 +02:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard b192879597 makefiles: Automatically output appropriate target flags. 2014-01-01 21:44:38 +01:00
Frédéric Delanoy 861106c7ec user.exe16: Use BOOL type where appropriate. 2013-11-26 10:16:11 +01:00
Frédéric Delanoy 1c4456f7a2 user.exe16: Use BOOL type where appropriate. 2013-10-23 11:20:58 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Alexandre Julliard 4894711768 user.exe: Always pass a resource size to CreateIconFromResourceEx16. 2013-06-17 13:34:40 +02:00
Michael Stefaniuc 96e428cc9e user.exe16: Use FIELD_OFFSET to calculate the size of a struct with variable length array. 2012-11-12 13:16:59 +01:00
Marcus Meissner f917cd0e42 user.exe: Avoid truncating strcmp result (Coverity). 2012-07-09 10:11:56 -04:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Marcus Meissner 90ca362013 user.exe16: Fixed incorrect sizeof() (Coverity). 2011-10-19 16:38:51 +02:00
André Hentschel f12e6a11d8 user.exe: Remove dead assignment (clang). 2011-07-14 14:45:00 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Alexandre Julliard 33807ac093 user.exe: Don't try calling the WH_CALLWNDPROC hook if no hook was set. 2011-03-11 11:47:08 +01:00
Alexandre Julliard eda6079681 user.exe: Call the 16-bit hook directly in SendMessage16. 2011-03-08 14:50:18 +01:00
Alexandre Julliard d86df45602 user.exe: Avoid using the CONTEXT86 type. 2010-10-20 18:37:08 +02:00
Alexandre Julliard 88be48ebeb makefiles: Use the -m16 option with 16-bit resources for consistency. 2010-09-29 20:15:57 +02:00
Austin English 0f05f90aa2 user.exe16: Fix a compiler warning on clang. 2010-09-20 13:57:04 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard a157959dbe user.exe: Store the GDI instance when it's first loaded. 2010-05-24 23:35:37 +02:00
Alexandre Julliard 5d9801bc7f user.exe: Make sure 16-bit user and gdi never get unloaded. 2010-05-24 13:43:00 +02:00
Gerald Pfeifer cbbfbca9e4 user.exe16: Remove variable width which is not really used from listbox_proc16. 2010-05-10 10:11:37 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard a9a5dae064 user.exe: The default dialog button id is 0 on Win16. 2010-02-18 11:12:11 +01:00
Alexandre Julliard a64765f673 user32: Don't overwrite the default button id when creating the dialog structure. 2010-02-17 11:43:34 +01:00
Alexandre Julliard 0e0b704f5b user32: Do not load 16-bit user.exe by default. 2010-02-08 17:49:48 +01:00
Alexandre Julliard f89aaa65ad user32: Store 32-bit and 16-bit cursors/icons in independent structures. 2010-02-08 17:49:47 +01:00
Alexandre Julliard 6806451db3 user: Add icon handle mapping in the Get/SetClassWord/Long functions. 2010-02-03 13:54:01 +01:00
Alexandre Julliard 8fc1fc49fd user: Add internal functions for cursor/icon 16<->32 conversion to replace the typecasting macros. 2010-02-02 12:14:10 +01:00
Alexandre Julliard 3d55d1430b user: Call the 16-bit CreateIconFromResourceEx from LoadIconHandler16. 2010-02-02 12:08:59 +01:00
Alexandre Julliard e474bfe0f3 user: Reimplement GetIconInfo16 using the 16-bit icon structure directly. 2010-02-02 12:08:54 +01:00
Alexandre Julliard 5f27257e57 user.exe: Make CreateIcon16 available as 32-bit export. 2010-02-02 11:47:19 +01:00
Stefan Leichter 5ef5ead15f user.exe: Forward WNetGetUser16 to WNetGetUserA of mpr.dll, based on a patch from Andrew Nguyen. 2010-01-18 14:16:59 +01:00
Detlef Riekenberg 2f529c39fd user32: Move a comment about HLOCAL16 to user.exe. 2010-01-05 18:08:19 +01:00
Alexandre Julliard a18bbec0f0 kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32. 2009-12-30 18:01:34 +01:00
Michael Stefaniuc 453cf859a8 user.exe: Remove some superfluous WPARAM/LPARAM casts. 2009-12-30 16:13:38 +01:00
Alexandre Julliard 2a00c86a98 user.exe: Prepend a valid bitmap header when copying a bitmap resource to a file. 2009-12-30 13:30:56 +01:00
Alexandre Julliard 593b973501 user.exe: Reimplement CopyImage16 for cursors and icons. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 2ced4102d4 user.exe: Reimplement LoadImage16 for bitmaps instead of calling LoadImageA directly. 2009-12-28 23:50:40 +01:00
Alexandre Julliard b96ab35cad user32: Move loading of static icons for 16-bit windows to the 16-bit wrapper. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 9ceda48337 user32: Load the 32-bit user.exe module wrapper from the 32-bit side. 2009-12-28 23:50:40 +01:00
Alexandre Julliard 40a264b0e7 winevdm: Move the loading of the system drivers into their specific 16-bit module. 2009-12-28 23:50:40 +01:00
Alexandre Julliard d51a6b673c user32: Don't pass the 16-bit instance through to 32-bit MessageBoxIndirectA. 2009-12-28 11:42:46 +01:00
Alexandre Julliard 537877adae user32: Move handling of listbox sizes for Win 3.1 apps to the 16-bit code. 2009-12-24 21:09:17 +01:00