scrobj: Register Scriptlet.TypeLib.
[wine.git] / dlls / scrobj / scrobj.idl
blob4153d31788a62e51d56705425b0f02c6d1e4027f
1 /*
2 * Copyright 2017 Nikolay Sivov
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 #pragma makedep regtypelib
21 import "unknwn.idl";
22 import "objidl.idl";
23 import "oaidl.idl";
26 uuid(06290c00-48aa-11d2-8432-006008c3fbfc),
27 version(1.0)
29 library Scriptlet
31 importlib("stdole2.tlb");
34 uuid(2de0a190-a1a4-11d1-b382-00a0c911e8b2),
35 dual,
36 oleautomation
38 interface IGenScriptletTLib : IDispatch
40 [id(0x1)]
41 HRESULT AddURL([in] BSTR url);
43 [id(0x2), propput]
44 HRESULT Path([in] BSTR path);
46 [id(0x2), propget]
47 HRESULT Path([out, retval] BSTR *path);
49 [id(0x4), propput]
50 HRESULT Doc([in] BSTR doc);
52 [id(0x4), propget]
53 HRESULT Doc([out, retval] BSTR *doc);
55 [id(0x5), propput]
56 HRESULT Name([in] BSTR name);
58 [id(0x5), propget]
59 HRESULT Name([out, retval] BSTR *name);
61 [id(0x6), propput]
62 HRESULT MajorVersion([in] WORD version);
64 [id(0x6), propget]
65 HRESULT MajorVersion([out, retval] WORD *version);
67 [id(0x7), propput]
68 HRESULT MinorVersion([in] WORD version);
70 [id(0x7), propget]
71 HRESULT MinorVersion([out, retval] WORD *version);
73 [id(0x3)]
74 HRESULT Write();
76 [id(0x8)]
77 HRESULT Reset();
79 [id(0x9), propput]
80 HRESULT GUID([in] BSTR guid);
82 [id(0x9), propget]
83 HRESULT GUID([out, retval] BSTR *guid);
87 uuid(06290bd5-48aa-11d2-8432-006008c3fbfc ),
88 version(1.0),
89 threading(apartment),
90 progid("Scriptlet.TypeLib")
92 coclass TypeLib
94 [default] interface IGenScriptletTLib;