Module: wine Branch: master Commit: f0555c5ebc277d43089769e3568b1315d2fce852 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0555c5ebc277d43089769e356...
Author: Austin English austinenglish@gmail.com Date: Wed Dec 28 02:18:13 2016 -0600
rstrtmgr: Add RmShutdown stub.
Signed-off-by: Austin English austinenglish@gmail.com Signed-off-by: Sebastian Lackner sebastian@fds-team.de Signed-off-by: Alexandre Julliard julliard@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