Commit Graph

26 Commits

Author SHA1 Message Date
Eric Pouech 3f0469131e compobj.dll16: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 18:37:32 +01:00
Eric Pouech bb1fc33570 include/msvcrt: Add attribute((format)) to printf and scanf -like APIs.
Fix a bunch of warnings generated by this patch and the migration of
GUID.Data1 to long in ae2693e2c4

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard fbbad0f10a makefiles: Always build 16-bit modules with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:09:19 +02:00
Zebediah Figura bfaf90137e compobj: Implement reference counting for the standard allocator.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:55:00 +01:00
Zebediah Figura 9af935a519 compobj: Reference the returned IMalloc pointer in CoGetMalloc().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42554
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:54:52 +01:00
Zebediah Figura 588af8ca85 compobj: Reference the IMalloc pointer in CoInitialize().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42554
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:54:39 +01:00
Zebediah Figura ba3ca99703 compobj: Always set the IMalloc pointer in CoInitialize().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:54:32 +01:00
Zebediah Figura 464b74bf5b compobj: Store the IMalloc pointer as a SEGPTR.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:54:19 +01:00
Zebediah Figura 9c530b7c1e compobj: Get rid of _xmalloc16().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:53:54 +01:00
Zebediah Figura 4f7ebaf604 compobj: Manually define the IMalloc16 structure.
For clarity.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:53:28 +01:00
Alexandre Julliard 6a5d0230ce compobj: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:39 +02:00
Gijs Vermeulen 85820f5e40 compobj.dll16: Add StringFromIID.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:02 +01:00
Zebediah Figura 6c2a5ee917 compobj.dll16: Implement CoGetClassObject16().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:32:33 +01:00
Zebediah Figura d150d08fb0 compobj: Implement several IIDs.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:14 +01:00
Michael Müller 7e1d1aa573 compobj.dll16: Fix implementation of StringFromGUID2.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 12:33:32 +09:00
Bruno Jesus 00a6a1ac2f compobj.dll16: Remove dead assignments in compobj.c (Cppcheck). 2014-11-03 16:32:22 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Andrew Talbot 268226b658 compobj.dll16: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Michael Stefaniuc c2f6d05972 compobj.dll16: COM cleanup for the IMalloc16 iface. 2011-01-20 12:21:49 +01: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 bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28: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
Alexandre Julliard 781f4b838d makefiles: Remove the no longer used SPEC_SRCS variable from 16-bit makefiles. 2009-07-02 14:08:33 +02:00
Alexandre Julliard 6b40f64e18 ole32: Make compobj.dll into a stand-alone 16-bit module. 2009-03-12 13:09:31 +01:00