setupapi [2/2]: Add stubs for SetupOpenLog, SetupCloseLog,
and SetupLogError
James Hawkins
truiken at gmail.com
Wed Sep 13 19:18:23 CDT 2006
Hi,
Changelog:
* Add stubs for SetupOpenLog, SetupCloseLog, and SetupLogError.
dlls/setupapi/setupapi.spec | 5 +++--
dlls/setupapi/stubs.c | 26 ++++++++++++++++++++++++++
include/setupapi.h | 7 +++++++
3 files changed, 36 insertions(+), 2 deletions(-)
--
James Hawkins
-------------- next part --------------
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index e68ca69..d0a6d22 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -247,7 +247,7 @@ # Yes, Microsoft really misspelled this
@ stub SetupCancelTemporarySourceList
@ stdcall SetupCloseFileQueue(ptr)
@ stdcall SetupCloseInfFile(long)
-@ stub SetupCloseLog
+@ stdcall SetupCloseLog()
@ stdcall SetupCommitFileQueue(long long ptr ptr) SetupCommitFileQueueW
@ stdcall SetupCommitFileQueueA(long long ptr ptr)
@ stdcall SetupCommitFileQueueW(long long ptr ptr)
@@ -442,7 +442,7 @@ # Yes, Microsoft really misspelled this
@ stdcall SetupIterateCabinetA(str long ptr ptr)
@ stdcall SetupIterateCabinetW(wstr long ptr ptr)
@ stub SetupLogErrorA
-@ stub SetupLogErrorW
+@ stdcall SetupLogErrorW(wstr long)
@ stub SetupLogFileA
@ stub SetupLogFileW
@ stdcall SetupOpenAppendInfFileA(str long ptr)
@@ -450,6 +450,7 @@ # Yes, Microsoft really misspelled this
@ stdcall SetupOpenFileQueue()
@ stdcall SetupOpenInfFileA(str str long ptr)
@ stdcall SetupOpenInfFileW(wstr wstr long ptr)
+@ stdcall SetupOpenLog(long)
@ stdcall SetupOpenMasterInf()
@ stub SetupPromptForDiskA
@ stub SetupPromptForDiskW
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 41252cd..fb31a19 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -196,3 +196,29 @@ BOOL WINAPI RegistryDelnode(DWORD x, DWO
FIXME("%08lx %08lx: stub\n", x, y);
return FALSE;
}
+
+/***********************************************************************
+ * SetupCloseLog(SETUPAPI.@)
+ */
+void WINAPI SetupCloseLog()
+{
+ FIXME("() stub\n");
+}
+
+/***********************************************************************
+ * SetupLogErrorW(SETUPAPI.@)
+ */
+BOOL WINAPI SetupLogErrorW(PCWSTR MessageString, LogSeverity Severity)
+{
+ FIXME("(%s, %ld) stub\n", debugstr_w(MessageString), Severity);
+ return TRUE;
+}
+
+/***********************************************************************
+ * SetupOpenLog(SETUPAPI.@)
+ */
+BOOL WINAPI SetupOpenLog(BOOL Reserved)
+{
+ FIXME("(%d) stub\n", Reserved);
+ return TRUE;
+}
diff --git a/include/setupapi.h b/include/setupapi.h
index 625f15d..ada57db 100644
--- a/include/setupapi.h
+++ b/include/setupapi.h
@@ -690,6 +690,13 @@ #define INFINFO_DEFAULT_SEARCH
#define INFINFO_REVERSE_DEFAULT_SEARCH 4
#define INFINFO_INF_PATH_LIST_SEARCH 5
+#define LogSeverity DWORD
+#define LogSevInformation 0x00000000
+#define LogSevWarning 0x00000001
+#define LogSevError 0x00000002
+#define LogSevFatalError 0x00000003
+#define LogSevMaximum 0x00000004
+
LONG WINAPI AddTagToGroupOrderList(PCWSTR lpGroupName, DWORD dwUnknown2, DWORD dwUnknown3);
DWORD WINAPI CaptureAndConvertAnsiArg(PCSTR lpSrc, PWSTR *lpDst);
DWORD WINAPI CaptureStringArg(PCWSTR lpSrc, PWSTR *lpDst);
--
1.4.2
More information about the wine-patches
mailing list