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
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
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
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
Alexandre Julliard
d86df45602
user.exe: Avoid using the CONTEXT86 type.
2010-10-20 18:37:08 +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
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
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
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
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
8aa83d326a
user32: Make user.exe into a stand-alone 16-bit module.
2009-12-24 12:15:12 +01:00