From: "Roman Pišl" Subject: [PATCH 3/3] rstrtmgr: Add stubs RmAddFilter and RmRemoveFilter. Message-Id: <20191027101648.25330-4-rpisl@seznam.cz> Date: Sun, 27 Oct 2019 11:16:48 +0100 In-Reply-To: <20191027101648.25330-1-rpisl@seznam.cz> References: <20191027101648.25330-1-rpisl@seznam.cz> Signed-off-by: Roman Pišl --- dlls/rstrtmgr/main.c | 22 ++++++++++++++++++++++ dlls/rstrtmgr/rstrtmgr.spec | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/dlls/rstrtmgr/main.c b/dlls/rstrtmgr/main.c index dfe53359d9..9051139488 100644 --- a/dlls/rstrtmgr/main.c +++ b/dlls/rstrtmgr/main.c @@ -114,3 +114,25 @@ DWORD WINAPI RmShutdown(DWORD handle, ULONG flags, RM_WRITE_STATUS_CALLBACK stat FIXME("%u, 0x%08x, %p stub!\n", handle, flags, status); return ERROR_SUCCESS; } + +/*********************************************************************** + * RmAddFilter (rstrtmgr.@) + */ +DWORD WINAPI RmAddFilter(DWORD handle, LPCWSTR moduleName, RM_UNIQUE_PROCESS *process, + LPCWSTR serviceShortName, RM_FILTER_ACTION filter) +{ + FIXME("%u, %s %p %s 0x%08x stub!\n", handle, debugstr_w(moduleName), process, + debugstr_w(serviceShortName), filter); + return ERROR_SUCCESS; +} + +/*********************************************************************** + * RmRemoveFilter (rstrtmgr.@) + */ +DWORD WINAPI RmRemoveFilter(DWORD handle, LPCWSTR moduleName, RM_UNIQUE_PROCESS *process, + LPCWSTR serviceShortName) +{ + FIXME("%u, %s %p %s stub!\n", handle, debugstr_w(moduleName), process, + debugstr_w(serviceShortName)); + return ERROR_SUCCESS; +} diff --git a/dlls/rstrtmgr/rstrtmgr.spec b/dlls/rstrtmgr/rstrtmgr.spec index 6c6a9c9625..ddfc82cbca 100644 --- a/dlls/rstrtmgr/rstrtmgr.spec +++ b/dlls/rstrtmgr/rstrtmgr.spec @@ -1,11 +1,11 @@ -@ stub RmAddFilter +@ stdcall RmAddFilter(long ptr ptr ptr long) @ stub RmCancelCurrentTask @ stdcall RmEndSession(long) @ stub RmGetFilterList @ stdcall RmGetList(long ptr ptr ptr ptr) @ stub RmJoinSession @ stdcall RmRegisterResources(long long ptr long ptr long ptr) -@ stub RmRemoveFilter +@ stdcall RmRemoveFilter(long ptr ptr ptr) @ stub RmReserveHeap @ stdcall RmRestart(long long ptr) @ stdcall RmShutdown(long long ptr) -- 2.20.1