[pkg-wine-party] [wine] 67/175: kernel32: Add a stub for UnregisterApplicationRestart.
Michael Gilbert
mgilbert at moszumanska.debian.org
Fri Jul 4 00:12:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository wine.
commit fd6c5490dfe8818b1f9fa19e6502e22ae1736e05
Author: Austin English <austinenglish at gmail.com>
Date: Tue Jun 17 16:24:48 2014 -0700
kernel32: Add a stub for UnregisterApplicationRestart.
---
dlls/kernel32/kernel32.spec | 1 +
dlls/kernel32/process.c | 10 ++++++++++
include/winbase.h | 1 +
3 files changed, 12 insertions(+)
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index a6c6b29..8aa5d21 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -1237,6 +1237,7 @@
@ stdcall UnlockFile(long long long long long)
@ stdcall UnlockFileEx(long long long long ptr)
@ stdcall UnmapViewOfFile(ptr)
+@ stdcall UnregisterApplicationRestart()
# @ stub UnregisterConsoleIME
@ stdcall UnregisterWait(long)
@ stdcall UnregisterWaitEx(long long)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 0b70a55..2566ac4 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -3956,3 +3956,13 @@ VOID WINAPI FlushProcessWriteBuffers(void)
if (!once++)
FIXME(": stub\n");
}
+
+/***********************************************************************
+ * UnregisterApplicationRestart (KERNEL32.@)
+ */
+HRESULT WINAPI UnregisterApplicationRestart(void)
+{
+ FIXME(": stub\n");
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return S_OK;
+}
diff --git a/include/winbase.h b/include/winbase.h
index 7432983..a269833 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -2411,6 +2411,7 @@ WINBASEAPI BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
WINBASEAPI BOOL WINAPI UnmapViewOfFile(LPCVOID);
+WINBASEAPI HRESULT WINAPI UnregisterApplicationRestart(void);
WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE);
WINBASEAPI BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE);
WINBASEAPI BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,LPVOID,DWORD);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list