https://git.reactos.org/?p=reactos.git;a=commitdiff;h=24a727a23bd1c6f136ef7…
commit 24a727a23bd1c6f136ef77ff7d1d394b4c0b6c24
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Jan 16 19:56:28 2022 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Jan 16 19:56:28 2022 +0100
[reactos] Add missing prototypes for svchost callbacks
Addendum to 43fa9548d32a10967f9d53c73c1d4484c8927ee8
---
sdk/include/reactos/svc.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/sdk/include/reactos/svc.h b/sdk/include/reactos/svc.h
index b028f1a0bf5..009c2e77703 100644
--- a/sdk/include/reactos/svc.h
+++ b/sdk/include/reactos/svc.h
@@ -10,6 +10,20 @@
#ifndef __SVC_H
#define __SVC_H
+#ifndef __RPC_H__
+#include <rpc.h>
+#endif
+
+
+typedef RPC_STATUS
+(CALLBACK *LPSTART_RPC_SERVER) (
+ _In_ RPC_WSTR PipeName,
+ _In_ RPC_IF_HANDLE IfSpec);
+
+typedef RPC_STATUS
+(CALLBACK *LPSTOP_RPC_SERVER) (
+ _In_ RPC_IF_HANDLE IfSpec);
+
//
// This is the callback that a hosted service can register for stop notification
//