Commit Graph

74 Commits

Author SHA1 Message Date
Zhiyi Zhang 765d4c1e77 shell32: Activate context at ID 123 before loading control panel applets.
This is required to enable common control v6 when running control panel applets using
"rundll32.exe shell32.dll,Control_RunDLL".

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Eric Pouech 570e24a014 shell32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:32:11 +01:00
Alexandre Julliard b215536852 shell32: Use wide char string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 48d62fc623 shell32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:24:05 +02:00
Alexandre Julliard b680571a50 shell32: Process all messages in control panel.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47947
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 23:04:29 +01:00
Nikolay Sivov 612a194133 shell32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:12 +01:00
Nikolay Sivov e3b200bd8a shell32: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Michael Müller 2723e9473c shell32: Use manual redirection for RunDLL_CallEntry16.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:04:41 +01:00
Nikolay Sivov 1ee9c2c60b shell32: Make some strings static constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 15:13:36 +01:00
Hermès Bélusca-Maïto a08160680b shell32: Automatically expand CPL applet path string. 2014-04-16 14:35:16 +02:00
Frédéric Delanoy 0666ac3ed8 shell32: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Andrew Talbot 1d7a407f6d shell32: Indentation fix. 2012-12-21 11:37:22 +01:00
Damjan Jovanovic 74fe2989cb shell32: Fix some return types. 2012-06-20 10:31:03 +02:00
Alexandre Julliard 2729cc1b3d shell32: Remove the applet valid flag and improve the error handling. 2012-06-06 11:46:20 +02:00
Alexandre Julliard 6f9f6b1aa6 shell32: Convert the control panel list to a standard list. 2012-06-05 21:23:21 +02:00
Alexandre Julliard c1e40a8bf4 shell32: Use a default icon for control panels without one. 2012-06-05 21:23:19 +02:00
Alexandre Julliard 2b7d8311da shell32: Define our own structure for control panel info, with more space for strings. 2012-02-16 18:51:54 +01:00
Marcus Meissner c4571e827b shell32: Arrays are never NULL (Coverity). 2011-03-15 17:14:07 +01:00
Detlef Riekenberg 463dafc3ac shell32: We have a Unicode parameter when launching a CPL. 2010-10-18 11:51:45 +02:00
Dylan Smith fcbc48183f shell32: Native RegisterClassEx requires cbSize to be set. 2010-06-21 11:46:52 +02:00
Alexandre Julliard 8932fe2a84 shell32: Create a 32-bpp image list to get alpha blended icons. 2010-06-14 14:14:15 +02:00
Alexandre Julliard fa29e0f290 shell32: Make use of the control panel icon. 2010-05-06 14:44:09 +02:00
Alexandre Julliard 3f5136ce3a shell32: Load the application icon for the control panel window. 2010-05-05 11:00:38 +02:00
Alexandre Julliard 89df78e2c0 shell32: Move the RunDLL_CallEntry16 implementation to shell.dll. 2009-12-30 17:29:06 +01:00
Alexandre Julliard e55acdb642 shell32: Don't try to call a 16-bit function on non-x86 platforms. 2009-09-25 14:37:57 +02:00
Francois Gouget fb0e107b18 shell32: Add a trailing '\n' to a WARN(). 2009-07-22 11:09:02 +02:00
Owen Rudge 5e289b91c0 shell32: Ensure extraPmts is a valid pointer before checking it. 2009-07-22 11:08:39 +02:00
Owen Rudge 1eca313f47 shell32: Execute control panel applets in separate process. 2009-07-21 10:47:06 +02:00
Owen Rudge bd926bde38 shell32: Check if a numerical value has been passed inside quotes in Control_DoLaunch. 2009-07-21 10:46:49 +02:00
Nikolay Sivov f8f8f0a457 comctl32/listview: Make ListView_* macros match PSDK. 2009-05-11 14:51:32 +02:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Alexandre Julliard e65c2d9a0d shell32: Fix a pointer cast warning on 64-bit. 2009-01-08 17:27:41 +01:00
Andrew Talbot 45d7897c62 shell32: Sign-compare warnings fix. 2008-11-12 11:49:12 +01:00
Owen Rudge 4e7a07631e shell32: Check CPL_NEWINQUIRE message in control panel applets if we can't retrieve valid strings/icon. 2008-09-19 12:08:58 +02:00
Owen Rudge 6d59815059 shell32: Ensure status bar in control panel is reset when menu closed. Also reset to blank when item deselected. 2008-07-29 11:49:16 +02:00
Owen Rudge ac78bfe18a shell32: Fix descriptions being applied to wrong entries in control panel. 2008-07-29 11:37:58 +02:00
Owen Rudge 5800539bb6 shell32: Add status bar to control panel. 2008-07-25 12:27:44 +02:00
Owen Rudge 238cdf715d shell32: Use a listview for the control panel. 2008-07-25 12:27:31 +02:00
Alexandre Julliard d619640f1b shell32: Define a valid cursor for the control panel window. 2008-07-23 11:52:12 +02:00
Owen Rudge 1bca3c05f1 shell32: Remove existing painting methods from control panel. 2008-07-23 11:49:55 +02:00
Owen Rudge 6599f573ca shell32: Add About dialog to Control Panel. 2008-07-23 11:49:13 +02:00
Owen Rudge 9b2f6364ac shell32: Add code to process menu item selections. 2008-07-23 11:49:03 +02:00
Owen Rudge 95c6d1d864 shell32: Add menu bar to Control Panel. 2008-07-23 11:47:02 +02:00
Owen Rudge 08b1bdb8c0 shell32: Load Control Panel title from resources. 2008-07-23 11:46:44 +02:00
Owen Rudge 5e3786f8da shell32: Use wide functions when creating control panel. 2008-07-22 15:21:17 +02:00
Owen Rudge 4ae7a87e74 shell32: Remove "no control panels" found message. 2008-07-22 15:20:54 +02:00
Andrew Talbot 7f80d8e0c9 shell32: Remove unneeded address-of operators from array names. 2008-07-16 17:52:14 +02:00
Owen Rudge 9e6a7661d8 shell32: Check registry entry for cpl files (in standard control panel). 2008-07-03 11:50:51 +02:00
Owen Rudge b198924c20 shell32: Ensure the correct applet is loaded in multi-applet control panels. 2008-06-24 12:00:18 +02:00
Rob Shearman c627a81a76 shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE and when to use CPL_NEWINQUIRE.
Previously, the code would fail to get the name of an applet that didn't 
return an icon for CPL_NEWINQUIRE and didn't return set either idName or 
idIcon to a non-zero value for CPL_INQUIRE.

Fix this by sending CPL_INQUIRE first and loading any strings or icon 
specified and then only fall back to CPL_NEWINQUIRE if any of the 
required members were zero (i.e. CPL_DYNAMIC_RES) and then only fill in 
these fields.
2008-02-18 14:10:20 +01:00