oledb32: Fix conversion of strings with embedded '\0' to DBTYPE_STR | DBTYPE_BYREF.
[wine.git] / dlls / scrobj / scrobj.idl
bloba151dce2dde7256fcfa8a6dbafcee8af58d3d221
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
20 #pragma makedep header
22 import "unknwn.idl";
23 import "objidl.idl";
24 import "oaidl.idl";
27 uuid(06290c00-48aa-11d2-8432-006008c3fbfc),
28 version(1.0)
30 library Scriptlet
32 importlib("stdole2.tlb");
35 uuid(2de0a190-a1a4-11d1-b382-00a0c911e8b2),
36 dual,
37 oleautomation
39 interface IGenScriptletTLib : IDispatch
41 [id(0x1)]
42 HRESULT AddURL([in] BSTR url);
44 [id(0x2), propput]
45 HRESULT Path([in] BSTR path);
47 [id(0x2), propget]
48 HRESULT Path([out, retval] BSTR *path);
50 [id(0x4), propput]
51 HRESULT Doc([in] BSTR doc);
53 [id(0x4), propget]
54 HRESULT Doc([out, retval] BSTR *doc);
56 [id(0x5), propput]
57 HRESULT Name([in] BSTR name);
59 [id(0x5), propget]
60 HRESULT Name([out, retval] BSTR *name);
62 [id(0x6), propput]
63 HRESULT MajorVersion([in] WORD version);
65 [id(0x6), propget]
66 HRESULT MajorVersion([out, retval] WORD *version);
68 [id(0x7), propput]
69 HRESULT MinorVersion([in] WORD version);
71 [id(0x7), propget]
72 HRESULT MinorVersion([out, retval] WORD *version);
74 [id(0x3)]
75 HRESULT Write();
77 [id(0x8)]
78 HRESULT Reset();
80 [id(0x9), propput]
81 HRESULT GUID([in] BSTR guid);
83 [id(0x9), propget]
84 HRESULT GUID([out, retval] BSTR *guid);
88 uuid(06290bd5-48aa-11d2-8432-006008c3fbfc ),
89 version(1.0),
90 threading(apartment),
91 progid("Scriptlet.TypeLib")
93 coclass TypeLib
95 [default] interface IGenScriptletTLib;