setupapi: Add stub implementations of SetupGetNonInteractiveMode and SetupSetNonInteractiveMode.
Hans Leidekker
hans at codeweavers.com
Mon May 31 05:13:32 CDT 2010
---
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)
--
1.7.0.4
More information about the wine-patches
mailing list