2 * Copyright 2007 Robert Shearman 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
21 cpp_quote("#define IROT_PROTSEQ {'n','c','a','l','r','p','c',0}")
22 cpp_quote("#define IROT_ENDPOINT {'i','r','o','t',0}")
24 typedef struct tagMonikerComparisonData {
26 [size_is(ulCntData)] BYTE abData[];
27 } MonikerComparisonData;
30 uuid(7a98c254-6808-11cf-b73b-00aa00b677a8),
35 typedef struct tagInterfaceData
38 [size_is(ulCntData)] BYTE abData[];
41 typedef [unique] InterfaceData *PInterfaceData;
43 typedef struct tagInterfaceList
46 [size_is(size)] PInterfaceData interfaces[];
49 typedef [unique] InterfaceList *PInterfaceList;
51 typedef DWORD IrotCookie;
53 typedef handle_t IrotHandle;
54 typedef [context_handle] void *IrotContextHandle;
58 [in] const MonikerComparisonData *moniker_data,
59 [in] const InterfaceData *object,
60 [in] const InterfaceData *moniker,
61 [in] const FILETIME *time,
63 [out] IrotCookie *cookie,
64 [out] IrotContextHandle *ctxt_handle);
68 [in] IrotCookie cookie,
69 [in, out] IrotContextHandle *ctxt_handle,
70 [out] PInterfaceData *object,
71 [out] PInterfaceData *moniker);
73 HRESULT IrotIsRunning(
75 [in] const MonikerComparisonData *moniker_data);
77 HRESULT IrotGetObject(
79 [in] const MonikerComparisonData *moniker_data,
80 [out] PInterfaceData *obj,
81 [out] IrotCookie *cookie);
83 HRESULT IrotNoteChangeTime(
85 [in] IrotCookie cookie,
86 [in] const FILETIME *time);
88 HRESULT IrotGetTimeOfLastChange(
90 [in] const MonikerComparisonData *moniker_data,
91 [out] FILETIME *time);
93 HRESULT IrotEnumRunning(
95 [out] PInterfaceList *list);