Hans Leidekker : setupapi: Add a stub implementation for SetupPromptReboot.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Dec 15 07:21:40 CST 2006


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

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Fri Dec 15 10:02:00 2006 +0100

setupapi: Add a stub implementation for SetupPromptReboot.

---

 dlls/setupapi/setupapi.spec |    2 +-
 dlls/setupapi/stubs.c       |    9 +++++++++
 include/setupapi.h          |    1 +
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 2c6672d..ed91774 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -454,7 +454,7 @@
 @ stdcall SetupOpenMasterInf()
 @ stub SetupPromptForDiskA
 @ stub SetupPromptForDiskW
-@ stub SetupPromptReboot
+@ stdcall SetupPromptReboot(ptr ptr long)
 @ stub SetupQueryDrivesInDiskSpaceListA
 @ stub SetupQueryDrivesInDiskSpaceListW
 @ stub SetupQueryFileLogA
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index faf6a1f..1ab79da 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -200,3 +200,12 @@ BOOL WINAPI SetupOpenLog(BOOL Reserved)
     FIXME("(%d) stub\n", Reserved);
     return TRUE;
 }
+
+/***********************************************************************
+ *      SetupPromptReboot(SETUPAPI.@)
+ */
+INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
+{
+    FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
+    return 0;
+}
diff --git a/include/setupapi.h b/include/setupapi.h
index d27cb9f..7fd1099 100644
--- a/include/setupapi.h
+++ b/include/setupapi.h
@@ -851,6 +851,7 @@ HINF     WINAPI SetupOpenInfFileA( PCSTR
 HINF     WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR pszclass, DWORD style, UINT *error );
 #define         SetupOpenInfFile WINELIB_NAME_AW(SetupOpenInfFile)
 HINF     WINAPI SetupOpenMasterInf( VOID );
+INT      WINAPI SetupPromptReboot( HSPFILEQ, HWND, BOOL);
 BOOL     WINAPI SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD);
 BOOL     WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD);
 #define         SetupQueryInfFileInformation WINELIB_NAME_AW(SetupQueryInFileInformation)




More information about the wine-cvs mailing list