ws2_32: Avoid using wineserver definitions.
[wine.git] / include / wine / irpcss.idl
blob5d27658eba54c0f8d7f5b4108265faf133251326
1 /*
2 * Copyright 2019 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "wtypes.idl";
20 #include "wine/orpc.idl"
22 cpp_quote("#define IRPCSS_PROTSEQ {'n','c','a','l','r','p','c',0}")
23 cpp_quote("#define IRPCSS_ENDPOINT {'i','r','p','c','s','s',0}")
26 uuid(85da4974-edc7-40ff-bad4-9c4525a8d044),
27 version(0.0),
29 interface Irpcss
31 HRESULT irpcss_server_register(
32 [in] handle_t handle,
33 [in] const GUID *clsid,
34 [in] unsigned int flags,
35 [in] PMInterfacePointer object,
36 [out] unsigned int *cookie);
38 HRESULT irpcss_server_revoke(
39 [in] handle_t handle,
40 [in] unsigned int cookie);
42 HRESULT irpcss_get_class_object(
43 [in] handle_t handle,
44 [in] const GUID *clsid,
45 [out] PMInterfacePointer *object);
47 HRESULT irpcss_get_thread_seq_id(
48 [in] handle_t handle,
49 [out] DWORD *sequence_id);