📄 vbscript.idl
字号:
//
// This file is part of UniWebSpider Project.
//
// UniWebSpider is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// UniWebSpider is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with UniWebSpider; if not, write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// WRITTEN BY : ValGarn
// Generated .IDL file (by the OLE/COM Object Viewer)
//
// typelib filename: 3
[
uuid(3F4DACA7-160D-11D2-A8E9-00104B365C9F),
version(5.5),
helpstring("Microsoft VBScript Regular Expressions 5.5")
]
library VBScript_RegExp_55
{
// TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
importlib("stdole2.tlb");
// Forward declare all types defined in this typelib
interface IRegExp;
interface IMatch;
interface IMatchCollection;
interface IRegExp2;
interface IMatch2;
interface IMatchCollection2;
interface ISubMatches;
[
odl,
uuid(3F4DACA0-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface IRegExp : IDispatch {
[id(0x00002711), propget]
HRESULT Pattern([out, retval] BSTR* pPattern);
[id(0x00002711), propput]
HRESULT Pattern([in] BSTR pPattern);
[id(0x00002712), propget]
HRESULT IgnoreCase([out, retval] VARIANT_BOOL* pIgnoreCase);
[id(0x00002712), propput]
HRESULT IgnoreCase([in] VARIANT_BOOL pIgnoreCase);
[id(0x00002713), propget]
HRESULT Global([out, retval] VARIANT_BOOL* pGlobal);
[id(0x00002713), propput]
HRESULT Global([in] VARIANT_BOOL pGlobal);
[id(0x00002714)]
HRESULT Execute(
[in] BSTR sourceString,
[out, retval] IDispatch** ppMatches);
[id(0x00002715)]
HRESULT Test(
[in] BSTR sourceString,
[out, retval] VARIANT_BOOL* pMatch);
[id(0x00002716)]
HRESULT Replace(
[in] BSTR sourceString,
[in] BSTR replaceString,
[out, retval] BSTR* pDestString);
};
[
odl,
uuid(3F4DACA1-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface IMatch : IDispatch {
[id(00000000), propget]
HRESULT Value([out, retval] BSTR* pValue);
[id(0x00002711), propget]
HRESULT FirstIndex([out, retval] long* pFirstIndex);
[id(0x00002712), propget]
HRESULT Length([out, retval] long* pLength);
};
[
odl,
uuid(3F4DACA2-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface IMatchCollection : IDispatch {
[id(0x00002711), propget]
HRESULT Item(
[in] long index,
[out, retval] IDispatch** ppMatch);
[id(0x00000001), propget]
HRESULT Count([out, retval] long* pCount);
[id(0xfffffffc), propget]
HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
};
[
odl,
uuid(3F4DACB0-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface IRegExp2 : IDispatch {
[id(0x00002711), propget]
HRESULT Pattern([out, retval] BSTR* pPattern);
[id(0x00002711), propput]
HRESULT Pattern([in] BSTR pPattern);
[id(0x00002712), propget]
HRESULT IgnoreCase([out, retval] VARIANT_BOOL* pIgnoreCase);
[id(0x00002712), propput]
HRESULT IgnoreCase([in] VARIANT_BOOL pIgnoreCase);
[id(0x00002713), propget]
HRESULT Global([out, retval] VARIANT_BOOL* pGlobal);
[id(0x00002713), propput]
HRESULT Global([in] VARIANT_BOOL pGlobal);
[id(0x00002717), propget]
HRESULT Multiline([out, retval] VARIANT_BOOL* pMultiline);
[id(0x00002717), propput]
HRESULT Multiline([in] VARIANT_BOOL pMultiline);
[id(0x00002714)]
HRESULT Execute(
[in] BSTR sourceString,
[out, retval] IDispatch** ppMatches);
[id(0x00002715)]
HRESULT Test(
[in] BSTR sourceString,
[out, retval] VARIANT_BOOL* pMatch);
[id(0x00002716)]
HRESULT Replace(
[in] BSTR sourceString,
[in] VARIANT* replaceVar,
[out, retval] BSTR* pDestString);
};
[
odl,
uuid(3F4DACB1-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface IMatch2 : IDispatch {
[id(00000000), propget]
HRESULT Value([out, retval] BSTR* pValue);
[id(0x00002711), propget]
HRESULT FirstIndex([out, retval] long* pFirstIndex);
[id(0x00002712), propget]
HRESULT Length([out, retval] long* pLength);
[id(0x00002713), propget]
HRESULT SubMatches([out, retval] IDispatch** ppSubMatches);
};
[
odl,
uuid(3F4DACB2-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface IMatchCollection2 : IDispatch {
[id(00000000), propget]
HRESULT Item(
[in] long index,
[out, retval] IDispatch** ppMatch);
[id(0x00000001), propget]
HRESULT Count([out, retval] long* pCount);
[id(0xfffffffc), propget]
HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
};
[
odl,
uuid(3F4DACB3-160D-11D2-A8E9-00104B365C9F),
hidden,
dual,
nonextensible,
oleautomation
]
interface ISubMatches : IDispatch {
[id(00000000), propget]
HRESULT Item(
[in] long index,
[out, retval] VARIANT* pSubMatch);
[id(0x00000001), propget]
HRESULT Count([out, retval] long* pCount);
[id(0xfffffffc), propget]
HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
};
[
uuid(3F4DACA4-160D-11D2-A8E9-00104B365C9F)
]
coclass RegExp {
[default] interface IRegExp2;
};
[
uuid(3F4DACA5-160D-11D2-A8E9-00104B365C9F),
noncreatable
]
coclass Match {
[default] interface IMatch2;
};
[
uuid(3F4DACA6-160D-11D2-A8E9-00104B365C9F),
noncreatable
]
coclass MatchCollection {
[default] interface IMatchCollection2;
};
[
uuid(3F4DACC0-160D-11D2-A8E9-00104B365C9F),
noncreatable
]
coclass SubMatches {
[default] interface ISubMatches;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -