[Wine-devel] [PATCH] setupapi: Stub for SetupLogFile
Vitaly Perov
=?iso-8859-1?q?vitperov_=CE=C1_etersoft=2Eru?=
Сб Май 24 19:51:00 MSD 2008
--
Best wishes,
Vitaly Perov
Russia, Saint-Petersburg. www.etersoft.ru
----------- следующая часть -----------
commit a7f5cceaabca63268a22218684f9e8b885802e08
Author: Vitaly Perov <vitperov на etersoft.ru>
Date: Sat May 24 19:40:04 2008 +0400
[PATCH] setupapi: Stub for SetupLogFile
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 9ee7cbb..aa61b36 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -1340,3 +1340,45 @@ BOOL WINAPI SetupInstallServicesFromInfSectionA( HINF Inf, PCSTR SectionName, DW
return ret;
}
+
+
+/***********************************************************************
+ * 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,'%s','%s','%s',%d,'%s','%s','%s',%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,'%s','%s','%s',%d,'%s','%s','%s',%d):stub\n", FileLogHandle, LogSectionName, SourceFileName, TargetFileName, Checksum, DiskTagfile, DiskDescription, OtherInfo, Flags);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 4164ed6..bd09baa 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -450,8 +450,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()
Подробная информация о списке рассылки Wine-devel