Commit Graph

27 Commits

Author SHA1 Message Date
Zhiyi Zhang d1d91288ff rundll32: Activate context at ID 123 before calling library functions.
This is required to enable common control v6 for library functions called by rundll32.exe.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Esme Povirk 53ec99daeb rundll32: Only call LoadLibrary16 on x86.
These are imported by ordinal, so on other architectures we end
up calling whatever ends up on that ordinal, which is currently
Beep on x86_64.

Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:32:38 +02:00
Michael Stefaniuc 1cba8c3f97 rundll32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 12:40:29 +02:00
Alexandre Julliard 092d76b911 rundll32: Add wrapper to call entry point on i386.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48018
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 21:54:59 +01:00
Alexandre Julliard b09e18c40d rundll32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:39:49 +02:00
Frédéric Delanoy b3d07c7846 rundll32: Use BOOL type where appropriate. 2014-02-06 17:08:12 +01:00
Alexandre Julliard 59ef151a93 rundll32: Fix a pointer conversion warning on 64-bit. 2010-07-21 13:23:59 +02:00
Andrew Nguyen a42c072830 rundll32: Recognize entry points passed as ordinal numbers. 2010-05-04 18:29:54 +02:00
Andrew Nguyen b8b1a565e0 rundll32: Convert rundll32 to Unicode. 2010-05-04 13:14:59 +02:00
Andrew Nguyen e6bd6d1201 rundll32: Check more heap allocation failure paths for consistency. 2010-05-04 13:14:59 +02:00
Andrew Nguyen dd4221fc2c rundll32: Rename a few internal helpers for consistency. 2010-05-03 17:15:54 +02:00
Andrew Nguyen 5e72f7b2a5 rundll32: Load the 16-bit kernel32 exports by ordinal. 2009-06-04 12:12:38 +02:00
Vincent Povirk f54a8ab71b rundll32: Build with -mwindows. 2008-11-07 11:50:34 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Stefan Huehner 06822b8977 Fix some write-strings warnings. 2005-07-15 09:58:36 +00:00
Detlef Riekenberg edc061333f Space is valid between module name and entry point. 2005-07-14 12:34:04 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +00:00
Alexandre Julliard 3defd321b2 Don't link directly to 16-bit APIs for portability reasons (based on a
patch by Steven Edwards).
2004-01-21 02:20:29 +00:00
Alexandre Julliard 4175fdb7c6 Added support for loading 16-bit dlls. 2003-12-03 20:29:24 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Alexandre Julliard 269511026f Fixed indentation. 2003-08-15 03:51:19 +00:00
Mike McCormack 0ab73312c8 rundll32 requires a window for some functions to work, so create one. 2003-07-22 00:59:56 +00:00
Alberto Massari 01ac8df263 Fix crash when invoked with no arguments. 2002-11-18 19:42:13 +00:00
Alexandre Julliard 9f029b7d5e Warning fixes. 2002-11-15 04:17:00 +00:00
Alberto Massari 15e8e0a2f1 Added rundll32 utility. 2002-11-15 01:41:20 +00:00