Commit Graph

24 Commits

Author SHA1 Message Date
Eric Pouech 1216170b00 commdlg.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
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
Huw Davies 691c7775d1 commdlg: Pass the 16-bit structure to the WM_INITDIALOG hook.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52356
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-11 15:15:34 +01:00
Alexandre Julliard f87262ea99 include: Add CURRENT_SS/SP macros for 16-bit code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:53 +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
Rémi Bernon 3c9104f961 commdlg: Allocate memory using VirtualAlloc instead of NtAllocateVirtualMemory.
NtAllocateVirtualMemory was called for its zero_bits parameter, used
as an alignment value. But it is not, so call VirtualAlloc instead.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Alexandre Julliard 6655e6520d commdlg: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:38 +02:00
Alexandre Julliard 075e561f5c winebuild: Don't change %fs and %gs when calling 16-bit register functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:00:59 +02:00
Alexandre Julliard 59df6651b8 commdlg: Add support for 16-bit file dialog hooks.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-13 22:37:46 +01:00
Alexandre Julliard 0e9cb10340 commdlg: Implement custom template support in 16-bit file dialogs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 16:40:55 +01:00
Nikolay Sivov 4d3b87fc09 commdlg: Explicitely initialize remaining fields of CHOOSECOLORA (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 22:38:32 +01:00
Francois Gouget 285dc99999 commdlg.dll16: Remove unneeded NONAMELESSXXX directives. 2015-03-09 22:06:24 +09:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Huw Davies ac347c7e40 commdlg: Set the nt40 version size. 2012-09-21 17:07:53 +02:00
Detlef Riekenberg f43f37d361 commdlg: Fix GlobalReAlloc16 parameter order. 2012-02-20 15:40:19 +01:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +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 bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Detlef Riekenberg 93475667a0 commdlg: Fix PrintDlg parameter checks. 2010-01-11 12:53:21 -06: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
Francois Gouget 54ada51450 commdlg.dll16: The commdlg debug channel is unused. Remove it. 2009-11-16 12:43:06 +01:00
Detlef Riekenberg c49606e8a0 commdlg: Fix a copy&paste typo. 2009-11-16 11:34:12 +01:00
Alexandre Julliard 910f331f8a comdlg32: Make commdlg.dll into a stand-alone 16-bit module. 2009-11-12 23:04:42 +01:00