Module: wine
Branch: master
Commit: 70e5d5fd2e8501f36e4f3b2bccbdc55e25d31ee4
URL: https://source.winehq.org/git/wine.git/?a=commit;h=70e5d5fd2e8501f36e4f3b2b…
Author: Zebediah Figura <z.figura12(a)gmail.com>
Date: Mon Jun 4 17:59:33 2018 -0500
stdole2.idl: Use more accurate sizes for Automation types.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Huw Davies <huw(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/stdole2.idl | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/stdole2.idl b/include/stdole2.idl
index 18c402a..d372384 100644
--- a/include/stdole2.idl
+++ b/include/stdole2.idl
@@ -32,15 +32,15 @@
]
library stdole
{
- /* typedefs aren't stored in the type library.
- These type names are known by the type compiler so it
- doesn't really matter what we define them as. */
-
+ /* These typedefs need to have the same size as their real counterparts. */
typedef short VARIANT_BOOL;
- typedef long BSTR;
+ typedef void *BSTR;
typedef double CURRENCY;
typedef unsigned long HRESULT;
- typedef void *VARIANT;
+ typedef struct {
+ short word1, word2, word3, word4;
+ void *ptr1, *ptr2;
+ } VARIANT;
typedef unsigned long SCODE;
typedef struct GUID {
Module: wine
Branch: master
Commit: 4739647405284580e8404cbb07f3fb6a724755f1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4739647405284580e8404cbb…
Author: Austin English <austinenglish(a)gmail.com>
Date: Mon Jun 4 16:10:15 2018 -0500
dism: Add stub program.
Signed-off-by: Austin English <austinenglish(a)gmail.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
configure | 2 ++
configure.ac | 1 +
programs/dism/Makefile.in | 4 ++++
programs/dism/dism.c | 33 +++++++++++++++++++++++++++++++++
4 files changed, 40 insertions(+)
diff --git a/configure b/configure
index 456304b..299fb40 100755
--- a/configure
+++ b/configure
@@ -1666,6 +1666,7 @@ enable_cmd
enable_conhost
enable_control
enable_cscript
+enable_dism
enable_dpnsvr
enable_dxdiag
enable_eject
@@ -19369,6 +19370,7 @@ wine_fn_config_makefile programs/cmd/tests enable_tests
wine_fn_config_makefile programs/conhost enable_conhost
wine_fn_config_makefile programs/control enable_control
wine_fn_config_makefile programs/cscript enable_cscript
+wine_fn_config_makefile programs/dism enable_dism
wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
wine_fn_config_makefile programs/dxdiag enable_dxdiag
wine_fn_config_makefile programs/eject enable_eject
diff --git a/configure.ac b/configure.ac
index 600cb63..469fa8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3869,6 +3869,7 @@ WINE_CONFIG_MAKEFILE(programs/cmd/tests)
WINE_CONFIG_MAKEFILE(programs/conhost)
WINE_CONFIG_MAKEFILE(programs/control)
WINE_CONFIG_MAKEFILE(programs/cscript)
+WINE_CONFIG_MAKEFILE(programs/dism)
WINE_CONFIG_MAKEFILE(programs/dpnsvr)
WINE_CONFIG_MAKEFILE(programs/dxdiag)
WINE_CONFIG_MAKEFILE(programs/eject)
diff --git a/programs/dism/Makefile.in b/programs/dism/Makefile.in
new file mode 100644
index 0000000..834d143
--- /dev/null
+++ b/programs/dism/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = dism.exe
+APPMODE = -mconsole -municode
+
+C_SRCS = dism.c
diff --git a/programs/dism/dism.c b/programs/dism/dism.c
new file mode 100644
index 0000000..86d5d2e
--- /dev/null
+++ b/programs/dism/dism.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2018 Austin English
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(dism);
+
+int wmain(int argc, WCHAR *argv[])
+{
+ int i;
+
+ WINE_FIXME("stub:");
+ for (i = 0; i < argc; i++)
+ WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+ WINE_FIXME("\n");
+
+ return 0;
+}