Implement stubs for BeginUpdateResource() and EndUpdateResource()
Paul McNett
p at ulmcnett.com
Wed Apr 2 14:39:53 CST 2003
Hi,
Paul McNett - p at ulmcnett.com
Changelog:
- Implement stubs for BeginUpdateResourceA(), BeginUpdateResourceW(),
- EndUpdateResourceA(), and EndUpdateResourceW()
Index: dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.97
diff -u -r1.97 kernel32.spec
--- dlls/kernel/kernel32.spec 26 Mar 2003 01:22:57 -0000 1.97
+++ dlls/kernel/kernel32.spec 2 Apr 2003 20:35:25 -0000
@@ -143,8 +143,8 @@
@ stdcall BackupSeek(ptr long long ptr ptr ptr)
@ stdcall BackupWrite(ptr ptr long ptr long long ptr)
@ stdcall Beep(long long)
-@ stub BeginUpdateResourceA
-@ stub BeginUpdateResourceW
+@ stdcall BeginUpdateResourceA(str long)
+@ stdcall BeginUpdateResourceW(wstr long)
@ stdcall BuildCommDCBA(str ptr)
@ stdcall BuildCommDCBAndTimeoutsA(str ptr ptr)
@ stdcall BuildCommDCBAndTimeoutsW(wstr ptr ptr)
@@ -231,8 +231,8 @@
@ stdcall DisconnectNamedPipe(long)
@ stdcall DosDateTimeToFileTime(long long ptr)
@ stdcall DuplicateHandle(long long long ptr long long long)
-@ stub EndUpdateResourceA
-@ stub EndUpdateResourceW
+@ stdcall EndUpdateResourceA(long long)
+@ stdcall EndUpdateResourceW(long long)
@ stdcall EnterCriticalSection(ptr) ntdll.RtlEnterCriticalSection
@ stdcall EnumCalendarInfoA(ptr long long long)
@ stub EnumCalendarInfoW
Index: win32/kernel32.c
===================================================================
RCS file: /home/wine/wine/win32/kernel32.c,v
retrieving revision 1.42
diff -u -r1.42 kernel32.c
--- win32/kernel32.c 17 Aug 2002 00:43:20 -0000 1.42
+++ win32/kernel32.c 2 Apr 2003 20:35:25 -0000
@@ -36,6 +36,54 @@
WINE_DEFAULT_DEBUG_CHANNEL(win32);
/***********************************************************************
+ * BeginUpdateResourceA (KERNEL32.@)
+ */
+BOOL WINAPI BeginUpdateResourceA(
+ LPCSTR pFileName,
+ LONG bDeleteExistingResources) {
+
+ FIXME("(%p,%d): stub\n",pFileName,bDeleteExistingResources);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
+ * BeginUpdateResourceW (KERNEL32.@)
+ */
+BOOL WINAPI BeginUpdateResourceW(
+ LPCWSTR pFileName,
+ LONG bDeleteExistingResources) {
+
+ FIXME("(%p,%d): stub\n",pFileName,bDeleteExistingResources);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
+ * EndUpdateResourceA (KERNEL32.@)
+ */
+BOOL WINAPI EndUpdateResourceA(
+ HANDLE hUpdate,
+ LONG fDiscard) {
+
+ FIXME("(%d,%d): stub\n",hUpdate, fDiscard);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
+ * EndUpdateResourceW (KERNEL32.@)
+ */
+BOOL WINAPI EndUpdateResourceW(
+ HANDLE hUpdate,
+ LONG fDiscard) {
+
+ FIXME("(%d,%d): stub\n",hUpdate, fDiscard);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/***********************************************************************
* UpdateResourceA (KERNEL32.@)
*/
BOOL WINAPI UpdateResourceA(
More information about the wine-patches
mailing list