ReactOS 0.4.15-dev-7918-g2a2556c
vbsregexp10.idl
Go to the documentation of this file.
1/*
2 * Copyright 2013 Piotr Caban for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19#pragma makedep regtypelib
20
21import "oaidl.idl";
22
23#include "vbscript_defs.h"
24
25[
26 helpstring("Microsoft VBScript Regular Expressions 1.0"),
27 uuid(3f4daca7-160d-11d2-a8e9-00104b365c9f),
28 version(1.0)
29]
31{
32 importlib("stdole2.tlb");
33
34 [
35 dual,
36 hidden,
37 nonextensible,
38 odl,
39 oleautomation,
40 uuid(3f4daca0-160d-11d2-a8e9-00104b365c9f),
41 ]
42 interface IRegExp : IDispatch
43 {
45 HRESULT Pattern([out, retval] BSTR *pPattern);
46
47 [id(DISPID_REGEXP_PATTERN), propput]
48 HRESULT Pattern([in] BSTR pPattern);
49
51 HRESULT IgnoreCase([out, retval] VARIANT_BOOL *pIgnoreCase);
54 HRESULT IgnoreCase([in] VARIANT_BOOL pIgnoreCase);
55
56 [id(DISPID_REGEXP_GLOBAL), propget]
57 HRESULT Global([out, retval] VARIANT_BOOL *pGlobal);
58
59 [id(DISPID_REGEXP_GLOBAL), propput]
60 HRESULT Global([in] VARIANT_BOOL pGlobal);
61
64 [in] BSTR sourceString,
65 [out, retval] IDispatch **ppMatches);
66
69 [in] BSTR sourceString,
70 [out, retval] VARIANT_BOOL *pMatch);
71
74 [in] BSTR sourceString,
75 [in] BSTR replaceString,
76 [out, retval] BSTR *pDestString);
77 }
78
79 [
80 dual,
81 hidden,
82 nonextensible,
83 odl,
84 oleautomation,
85 uuid(3f4daca1-160d-11d2-a8e9-00104b365c9f)
86 ]
87 interface IMatch : IDispatch
88 {
89 [id(DISPID_VALUE), propget]
90 HRESULT Value([out, retval] BSTR *pValue);
92 [id(DISPID_MATCH_FIRSTINDEX), propget]
93 HRESULT FirstIndex([out, retval] LONG *pFirstIndex);
94
95 [id(DISPID_MATCH_LENGTH), propget]
96 HRESULT Length([out, retval] LONG *pLength);
97 }
98
99 [
100 dual,
101 hidden,
102 nonextensible,
103 odl,
104 oleautomation,
105 uuid(3f4daca2-160d-11d2-a8e9-00104b365c9f)
106 ]
108 {
109 [id(DISPID_VALUE), propget]
112 [out, retval] IDispatch **ppMatch);
115 HRESULT Count([out, retval] LONG *pCount);
116
117 [id(DISPID_NEWENUM), propget]
118 HRESULT _NewEnum([out, retval] IUnknown **ppEnum);
119 }
120
121 [
122 uuid(3f4daca4-160d-11d2-a8e9-00104b365c9f)
123 ]
124 coclass RegExp
125 {
126 [default] interface IRegExp;
127 }
128
129 [
130 noncreatable,
131 uuid(3f4daca5-160d-11d2-a8e9-00104b365c9f)
132 ]
133 coclass Match
134 {
135 [default] interface IMatch;
136 }
137
138 [
139 noncreatable,
140 uuid(3f4daca6-160d-11d2-a8e9-00104b365c9f)
141 ]
143 {
144 [default] interface IMatchCollection;
145 }
146}
coclass MediaStreamFilter helpstring("Stream Class")
static INT Execute(LPTSTR Full, LPTSTR First, LPTSTR Rest, PARSED_COMMAND *Cmd)
Definition: cmd.c:347
FT_Library library
Definition: cffdrivr.c:654
#define IgnoreCase
Definition: cdprocs.h:461
OLECHAR * BSTR
Definition: compat.h:2293
short VARIANT_BOOL
Definition: compat.h:2290
static const WCHAR version[]
Definition: asmname.c:66
#define DISPID_REGEXP_EXECUTE
#define DISPID_REGEXP_REPLACE
#define DISPID_REGEXP_PATTERN
#define DISPID_MATCH_LENGTH
#define DISPID_MATCH_FIRSTINDEX
#define DISPID_MATCHCOLLECTION_COUNT
#define DISPID_REGEXP_TEST
void Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LONG radius)
Definition: drawing.cpp:132
PWCHAR pValue
GLuint index
Definition: glext.h:6031
GLuint in
Definition: glext.h:9616
GLuint id
Definition: glext.h:5910
Definition: msctf.idl:550
#define DISPID_REGEXP_IGNORECASE
#define DISPID_REGEXP_GLOBAL
#define d
Definition: ke_i.h:81
__u32 hidden
Definition: mkdosfs.c:13
UNICODE_STRING Global
Definition: symlink.c:37
int Count
Definition: noreturn.cpp:7
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
long LONG
Definition: pedump.c:60
static FILE * out
Definition: regtests2xml.c:44
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413