Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.1 KiB

  1. // Generated .IDL file (by the OLE/COM Object Viewer)
  2. //
  3. // typelib filename: 2
  4. [
  5. uuid(3F4DACA7-160D-11D2-A8E9-00104B365C9F),
  6. version(1.0),
  7. helpstring("Microsoft VBScript Regular Expressions")
  8. ]
  9. library VBScript_RegExp
  10. {
  11. // TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
  12. importlib("stdole2.tlb");
  13. // Forward declare all types defined in this typelib
  14. interface IRegExp;
  15. interface IMatch;
  16. interface IMatchCollection;
  17. [
  18. odl,
  19. uuid(3F4DACA0-160D-11D2-A8E9-00104B365C9F),
  20. hidden,
  21. dual,
  22. nonextensible,
  23. oleautomation
  24. ]
  25. interface IRegExp : IDispatch {
  26. [id(0x00002711), propget]
  27. HRESULT Pattern([out, retval] BSTR* pPattern);
  28. [id(0x00002711), propput]
  29. HRESULT Pattern([in] BSTR pPattern);
  30. [id(0x00002712), propget]
  31. HRESULT IgnoreCase([out, retval] VARIANT_BOOL* pIgnoreCase);
  32. [id(0x00002712), propput]
  33. HRESULT IgnoreCase([in] VARIANT_BOOL pIgnoreCase);
  34. [id(0x00002713), propget]
  35. HRESULT Global([out, retval] VARIANT_BOOL* pGlobal);
  36. [id(0x00002713), propput]
  37. HRESULT Global([in] VARIANT_BOOL pGlobal);
  38. [id(0x00002714)]
  39. HRESULT Execute(
  40. [in] BSTR sourceString,
  41. [out, retval] IMatchCollection** ppMatches);
  42. [id(0x00002715)]
  43. HRESULT Test(
  44. [in] BSTR sourceString,
  45. [out, retval] VARIANT_BOOL* pMatch);
  46. [id(0x00002716)]
  47. HRESULT Replace(
  48. [in] BSTR sourceString,
  49. [in] BSTR replaceString,
  50. [out, retval] BSTR* pDestString);
  51. };
  52. [
  53. odl,
  54. uuid(3F4DACA1-160D-11D2-A8E9-00104B365C9F),
  55. hidden,
  56. dual,
  57. nonextensible,
  58. oleautomation
  59. ]
  60. interface IMatch : IDispatch {
  61. [id(00000000), propget]
  62. HRESULT Value([out, retval] BSTR* pValue);
  63. [id(0x00002711), propget]
  64. HRESULT FirstIndex([out, retval] long* pFirstIndex);
  65. [id(0x00002712), propget]
  66. HRESULT Length([out, retval] long* pLength);
  67. };
  68. [
  69. odl,
  70. uuid(3F4DACA2-160D-11D2-A8E9-00104B365C9F),
  71. hidden,
  72. dual,
  73. nonextensible,
  74. oleautomation
  75. ]
  76. interface IMatchCollection : IDispatch {
  77. [id(0x00002711), propget]
  78. HRESULT Item(
  79. [in] long index,
  80. [out, retval] IMatch** ppMatch);
  81. [id(0x00000001), propget]
  82. HRESULT Count([out, retval] long* pCount);
  83. [id(0xfffffffc), propget]
  84. HRESULT _NewEnum([out, retval] IUnknown** ppEnum);
  85. };
  86. [
  87. uuid(3F4DACA4-160D-11D2-A8E9-00104B365C9F)
  88. ]
  89. coclass RegExp {
  90. [default] interface IRegExp;
  91. };
  92. [
  93. uuid(3F4DACA5-160D-11D2-A8E9-00104B365C9F),
  94. noncreatable
  95. ]
  96. coclass Match {
  97. [default] interface IMatch;
  98. };
  99. [
  100. uuid(3F4DACA6-160D-11D2-A8E9-00104B365C9F),
  101. noncreatable
  102. ]
  103. coclass MatchCollection {
  104. [default] interface IMatchCollection;
  105. };
  106. };