Hans Leidekker : setupapi: Add stub implementations of SetupGetNonInteractiveMode and SetupSetNonInteractiveMode .

Alexandre Julliard julliard at winehq.org
Mon May 31 11:21:40 CDT 2010


Module: wine
Branch: master
Commit: bb36e75a403170aba995a094cd20bed9d484bdf9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bb36e75a403170aba995a094cd20bed9d484bdf9

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon May 31 12:13:32 2010 +0200

setupapi: Add stub implementations of SetupGetNonInteractiveMode and SetupSetNonInteractiveMode.

---

 dlls/setupapi/misc.c        |   24 ++++++++++++++++++++++++
 dlls/setupapi/setupapi.spec |    2 ++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/dlls/setupapi/misc.c b/dlls/setupapi/misc.c
index 08c0c79..3343cd2 100644
--- a/dlls/setupapi/misc.c
+++ b/dlls/setupapi/misc.c
@@ -1561,3 +1561,27 @@ DWORD WINAPI SetupDecompressOrCopyFileW( PCWSTR source, PCWSTR target, PUINT typ
     TRACE("%s -> %s %d\n", debugstr_w(source), debugstr_w(target), comp);
     return ret;
 }
+
+static BOOL non_interactive_mode;
+
+/***********************************************************************
+ *              SetupGetNonInteractiveMode  (SETUPAPI.@)
+ */
+BOOL WINAPI SetupGetNonInteractiveMode( void )
+{
+    FIXME("\n");
+    return non_interactive_mode;
+}
+
+/***********************************************************************
+ *              SetupSetNonInteractiveMode  (SETUPAPI.@)
+ */
+BOOL WINAPI SetupSetNonInteractiveMode( BOOL flag )
+{
+    BOOL ret = non_interactive_mode;
+
+    FIXME("%d\n", flag);
+
+    non_interactive_mode = flag;
+    return ret;
+}
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 1f77305..7695c89 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -426,6 +426,7 @@
 @ stdcall SetupGetLineTextW(ptr long wstr wstr ptr long ptr)
 @ stdcall SetupGetMultiSzFieldA(ptr long ptr long ptr)
 @ stdcall SetupGetMultiSzFieldW(ptr long ptr long ptr)
+@ stdcall SetupGetNonInteractiveMode()
 @ stdcall SetupGetSourceFileLocationA(ptr ptr str ptr ptr long ptr)
 @ stdcall SetupGetSourceFileLocationW(ptr ptr wstr ptr ptr long ptr)
 @ stub SetupGetSourceFileSizeA
@@ -520,6 +521,7 @@
 @ stdcall SetupSetFileQueueAlternatePlatformA(ptr ptr str)
 @ stdcall SetupSetFileQueueAlternatePlatformW(ptr ptr wstr)
 @ stdcall SetupSetFileQueueFlags(long long long)
+@ stdcall SetupSetNonInteractiveMode(long)
 @ stub SetupSetPlatformPathOverrideA
 @ stub SetupSetPlatformPathOverrideW
 @ stdcall SetupSetSourceListA(long ptr long)




More information about the wine-cvs mailing list