Vitaly Perov : setupapi: Add stub for SetupLogFile{A,W}.
Alexandre Julliard
julliard at winehq.org
Mon Feb 8 11:06:05 CST 2010
Module: wine
Branch: master
Commit: c7d4b0c69fb8de9a2344c7d9d4bcda6e3feef094
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7d4b0c69fb8de9a2344c7d9d4bcda6e3feef094
Author: Vitaly Perov <vitperov at etersoft.ru>
Date: Fri Feb 5 19:46:02 2010 +0300
setupapi: Add stub for SetupLogFile{A,W}.
---
dlls/setupapi/setupapi.spec | 4 +-
dlls/setupapi/stubs.c | 45 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index bcf88f4..51a5c2e 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -456,8 +456,8 @@
@ stdcall SetupIterateCabinetW(wstr long ptr ptr)
@ stub SetupLogErrorA
@ stdcall SetupLogErrorW(wstr long)
-@ stub SetupLogFileA
-@ stub SetupLogFileW
+@ stdcall SetupLogFileA(ptr str str str long str str str long)
+@ stdcall SetupLogFileW(ptr wstr wstr wstr long wstr wstr wstr long)
@ stdcall SetupOpenAppendInfFileA(str long ptr)
@ stdcall SetupOpenAppendInfFileW(wstr long ptr)
@ stdcall SetupOpenFileQueue()
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index 3496c6b..f8e99e0 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -348,3 +348,48 @@ CONFIGRET WINAPI CM_Enumerate_Classes(ULONG index, LPGUID class, ULONG flags)
FIXME("%u %p 0x%08x: stub\n", index, class, flags);
return CR_NO_SUCH_VALUE;
}
+
+/***********************************************************************
+ * SetupLogFileW (SETUPAPI.@)
+ */
+BOOL WINAPI SetupLogFileW(
+ HSPFILELOG FileLogHandle,
+ PCWSTR LogSectionName,
+ PCWSTR SourceFileName,
+ PCWSTR TargetFileName,
+ DWORD Checksum,
+ PCWSTR DiskTagfile,
+ PCWSTR DiskDescription,
+ PCWSTR OtherInfo,
+ DWORD Flags )
+{
+ FIXME("(%p, %p, '%s', '%s', %d, %p, %p, %p, %d): stub\n", FileLogHandle,
+ debugstr_w(LogSectionName), debugstr_w(SourceFileName),
+ debugstr_w(TargetFileName), Checksum, debugstr_w(DiskTagfile),
+ debugstr_w(DiskDescription), debugstr_w(OtherInfo), Flags);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
+ * SetupLogFileA (SETUPAPI.@)
+ */
+BOOL WINAPI SetupLogFileA(
+ HSPFILELOG FileLogHandle,
+ PCSTR LogSectionName,
+ PCSTR SourceFileName,
+ PCSTR TargetFileName,
+ DWORD Checksum,
+ PCSTR DiskTagfile,
+ PCSTR DiskDescription,
+ PCSTR OtherInfo,
+ DWORD Flags )
+{
+ FIXME("(%p, %p, '%s', '%s', %d, %p, %p, %p, %d): stub\n", FileLogHandle,
+ LogSectionName, SourceFileName, TargetFileName, Checksum, DiskTagfile,
+ DiskDescription, OtherInfo, Flags);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
More information about the wine-cvs
mailing list