From 05946869d6c40415e5dbb2a03e5d7aebacab1126 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Fri, 13 Nov 2009 23:51:49 +0100 Subject: setupapi: add stub for SetupSetNonInteractiveMode --- dlls/setupapi/setupapi.spec | 1 + dlls/setupapi/stubs.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 2f62b66..5852326 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -520,6 +520,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) diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 1b217db..df230cf 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -184,6 +184,21 @@ INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only ) } /*********************************************************************** + * SetupSetNonInteractiveMode(SETUPAPI.@) + */ +BOOL WINAPI SetupSetNonInteractiveMode(BOOL noninteractiveflag) +{ + static BOOL ret, previousstate; + + FIXME("(%d) stub\n", noninteractiveflag); + + ret = previousstate; + previousstate = noninteractiveflag; + + return ret; +} + +/*********************************************************************** * SetupSetSourceListA (SETUPAPI.@) */ BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count) -- 1.6.3.3