[pkg-wine-party] [wine] 97/434: rstrtmgr: Add RmShutdown stub.

Michael Gilbert mgilbert at moszumanska.debian.org
Sun Feb 5 19:22:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit f0555c5ebc277d43089769e3568b1315d2fce852
Author: Austin English <austinenglish at gmail.com>
Date:   Wed Dec 28 02:18:13 2016 -0600

    rstrtmgr: Add RmShutdown stub.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 dlls/rstrtmgr/main.c        | 9 +++++++++
 dlls/rstrtmgr/rstrtmgr.spec | 2 +-
 include/restartmanager.h    | 2 ++
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/dlls/rstrtmgr/main.c b/dlls/rstrtmgr/main.c
index 2d45639..5c9a8dc 100644
--- a/dlls/rstrtmgr/main.c
+++ b/dlls/rstrtmgr/main.c
@@ -100,3 +100,12 @@ DWORD WINAPI RmEndSession(DWORD handle)
     FIXME("%u stub!\n", handle);
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
+
+/***********************************************************************
+ * RmShutdown (rstrtmgr.@)
+ */
+DWORD WINAPI RmShutdown(DWORD handle, ULONG flags, RM_WRITE_STATUS_CALLBACK status)
+{
+    FIXME("%u, 0x%08x, %p stub!\n", handle, flags, status);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
diff --git a/dlls/rstrtmgr/rstrtmgr.spec b/dlls/rstrtmgr/rstrtmgr.spec
index 0e1ba79..6c6a9c9 100644
--- a/dlls/rstrtmgr/rstrtmgr.spec
+++ b/dlls/rstrtmgr/rstrtmgr.spec
@@ -8,5 +8,5 @@
 @ stub RmRemoveFilter
 @ stub RmReserveHeap
 @ stdcall RmRestart(long long ptr)
-@ stub RmShutdown
+@ stdcall RmShutdown(long long ptr)
 @ stdcall RmStartSession(ptr long ptr)
diff --git a/include/restartmanager.h b/include/restartmanager.h
index 27c1a92..9ee066d 100644
--- a/include/restartmanager.h
+++ b/include/restartmanager.h
@@ -64,6 +64,8 @@ typedef struct {
     BOOL bRestartable;
 } RM_PROCESS_INFO, *PRM_PROCESS_INFO;
 
+typedef void (CDECL *RM_WRITE_STATUS_CALLBACK)(UINT);
+
 #ifdef __cplusplus
 }
 #endif

-- 
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