source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/activaut.idl@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 6.1 KB
RevLine 
[1166]1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6cpp_quote("#include <winapifamily.h>")
7cpp_quote("")
8cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
9cpp_quote("")
10cpp_quote("#ifndef __ActivAut_h")
11cpp_quote("#define __ActivAut_h")
12cpp_quote("")
13
14#ifndef DO_NO_IMPORTS
15import "ocidl.idl";
16import "oleidl.idl";
17import "oaidl.idl";
18#endif
19
20cpp_quote("")
21cpp_quote("#ifndef _NO_AUTHOR_GUIDS")
22cpp_quote("DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);")
23cpp_quote("#endif")
24cpp_quote("")
25cpp_quote("const DWORD fasaPreferInternalHandler = 1;")
26cpp_quote("const DWORD fasaSupportInternalHandler = 2;")
27cpp_quote("const DWORD fasaCaseSensitive = 4;")
28cpp_quote("")
29cpp_quote("const DWORD SCRIPT_CMPL_NOLIST = 0;")
30cpp_quote("const DWORD SCRIPT_CMPL_MEMBERLIST = 1;")
31cpp_quote("const DWORD SCRIPT_CMPL_ENUMLIST = 2;")
32cpp_quote("const DWORD SCRIPT_CMPL_PARAMTIP = 4;")
33cpp_quote("const DWORD SCRIPT_CMPL_GLOBALLIST = 8;")
34cpp_quote("")
35cpp_quote("const DWORD SCRIPT_CMPL_ENUM_TRIGGER = 1;")
36cpp_quote("const DWORD SCRIPT_CMPL_MEMBER_TRIGGER = 2;")
37cpp_quote("const DWORD SCRIPT_CMPL_PARAM_TRIGGER = 3;")
38cpp_quote("const DWORD SCRIPT_CMPL_COMMIT = 4;")
39cpp_quote("")
40cpp_quote("const DWORD GETATTRTYPE_NORMAL = 0;")
41cpp_quote("const DWORD GETATTRTYPE_DEPSCAN = 1;")
42cpp_quote("")
43cpp_quote("const DWORD GETATTRFLAG_THIS = 0x100;")
44cpp_quote("const DWORD GETATTRFLAG_HUMANTEXT = 0x8000;")
45cpp_quote("")
46cpp_quote("const DWORD SOURCETEXT_ATTR_IDENTIFIER = 0x100;")
47cpp_quote("const DWORD SOURCETEXT_ATTR_MEMBERLOOKUP = 0x200;")
48cpp_quote("const DWORD SOURCETEXT_ATTR_THIS = 0x400;")
49cpp_quote("const DWORD SOURCETEXT_ATTR_HUMANTEXT = 0x8000;")
50cpp_quote("")
51
52interface IActiveScriptAuthor;
53interface IScriptNode;
54interface IScriptEntry;
55interface IScriptScriptlet;
56
57typedef WORD SOURCE_TEXT_ATTR;
58
59[uuid (0aee2a94-BCBB-11d0-8c72-00c04fc2b085), pointer_default (unique)]
60interface IScriptNode : IUnknown {
61 HRESULT Alive (void);
62 HRESULT Delete (void);
63 HRESULT GetParent ([out] IScriptNode **ppsnParent);
64 HRESULT GetIndexInParent ([out] ULONG *pisn);
65 HRESULT GetCookie ([out] DWORD *pdwCookie);
66 HRESULT GetNumberOfChildren ([out] ULONG *pcsn);
67 HRESULT GetChild ([in] ULONG isn,[out] IScriptNode **ppsn);
68 HRESULT GetLanguage ([out] BSTR *pbstr);
69 HRESULT CreateChildEntry ([in] ULONG isn,[in] DWORD dwCookie,[in] LPCOLESTR pszDelimiter,[out] IScriptEntry **ppse);
70 HRESULT CreateChildHandler ([in] LPCOLESTR pszDefaultName,[in, size_is (cpszNames)] LPCOLESTR *prgpszNames,[in] ULONG cpszNames,[in] LPCOLESTR pszEvent,[in] LPCOLESTR pszDelimiter,[in] ITypeInfo *ptiSignature,[in] ULONG iMethodSignature,[in] ULONG isn,[in] DWORD dwCookie,[out] IScriptEntry **ppse);
71}
72
73[uuid (0aee2a95-BCBB-11d0-8c72-00c04fc2b085), pointer_default (unique)]
74interface IScriptEntry : IScriptNode {
75 HRESULT GetText ([out] BSTR *pbstr);
76 HRESULT SetText ([in] LPCOLESTR psz);
77 HRESULT GetBody ([out] BSTR *pbstr);
78 HRESULT SetBody ([in] LPCOLESTR psz);
79 HRESULT GetName ([out] BSTR *pbstr);
80 HRESULT SetName ([in] LPCOLESTR psz);
81 HRESULT GetItemName ([out] BSTR *pbstr);
82 HRESULT SetItemName ([in] LPCOLESTR psz);
83 HRESULT GetSignature ([out] ITypeInfo **ppti,[out] ULONG *piMethod);
84 HRESULT SetSignature ([in] ITypeInfo *pti,[in] ULONG iMethod);
85 HRESULT GetRange ([out] ULONG *pichMin,[out] ULONG *pcch);
86}
87
88[uuid (0aee2a96-BCBB-11d0-8c72-00c04fc2b085), pointer_default (unique)]
89interface IScriptScriptlet : IScriptEntry {
90 HRESULT GetSubItemName ([out] BSTR *pbstr);
91 HRESULT SetSubItemName ([in] LPCOLESTR psz);
92 HRESULT GetEventName ([out] BSTR *pbstr);
93 HRESULT SetEventName ([in] LPCOLESTR psz);
94 HRESULT GetSimpleEventName ([out] BSTR *pbstr);
95 HRESULT SetSimpleEventName ([in] LPCOLESTR psz);
96}
97[uuid (9c109da0-7006-11d1-B36C-00a0c911e8b2), pointer_default (unique)]
98interface IActiveScriptAuthor : IUnknown {
99 HRESULT AddNamedItem ([in] LPCOLESTR pszName,[in] DWORD dwFlags,[in] IDispatch *pdisp);
100 HRESULT AddScriptlet ([in] LPCOLESTR pszDefaultName,[in] LPCOLESTR pszCode,[in] LPCOLESTR pszItemName,[in] LPCOLESTR pszSubItemName,[in] LPCOLESTR pszEventName,[in] LPCOLESTR pszDelimiter,[in] DWORD dwCookie,[in] DWORD dwFlags);
101 HRESULT ParseScriptText ([in] LPCOLESTR pszCode,[in] LPCOLESTR pszItemName,[in] LPCOLESTR pszDelimiter,[in] DWORD dwCookie,[in] DWORD dwFlags);
102 HRESULT GetScriptTextAttributes ([in, size_is (cch)] LPCOLESTR pszCode,[in] ULONG cch,[in] LPCOLESTR pszDelimiter,[in] DWORD dwFlags,[in, out, size_is (cch)] SOURCE_TEXT_ATTR *pattr);
103 HRESULT GetScriptletTextAttributes ([in, size_is (cch)] LPCOLESTR pszCode,[in] ULONG cch,[in] LPCOLESTR pszDelimiter,[in] DWORD dwFlags,[in, out, size_is (cch)] SOURCE_TEXT_ATTR *pattr);
104 HRESULT GetRoot ([out] IScriptNode **ppsp);
105 HRESULT GetLanguageFlags ([out] DWORD *pgrfasa);
106 HRESULT GetEventHandler ([in] IDispatch *pdisp,[in] LPCOLESTR pszItem,[in] LPCOLESTR pszSubItem,[in] LPCOLESTR pszEvent,[out] IScriptEntry **ppse);
107 HRESULT RemoveNamedItem ([in] LPCOLESTR pszName);
108 HRESULT AddTypeLib ([in] REFGUID rguidTypeLib,[in] DWORD dwMajor,[in] DWORD dwMinor,[in] DWORD dwFlags);
109 HRESULT RemoveTypeLib ([in] REFGUID rguidTypeLib,[in] DWORD dwMajor,[in] DWORD dwMinor);
110 HRESULT GetChars ([in] DWORD fRequestedList,[out] BSTR *pbstrChars);
111 HRESULT GetInfoFromContext ([in] LPCOLESTR pszCode,[in] ULONG cchCode,[in] ULONG ichCurrentPosition,[in] DWORD dwListTypesRequested,[out] DWORD *pdwListTypesProvided,[out] ULONG *pichListAnchorPosition,[out] ULONG *pichFuncAnchorPosition,[out] MEMBERID *pmemid,[out] LONG *piCurrentParameter,[out] IUnknown **ppunk);
112
113 HRESULT IsCommitChar ([in] OLECHAR ch,[out] BOOL *pfcommit);
114}
115
116[uuid (7e2d4b70-BD9A-11d0-9336-00a0c90dcaa9), pointer_default (unique)]
117interface IActiveScriptAuthorProcedure : IUnknown {
118 HRESULT ParseProcedureText ([in] LPCOLESTR pszCode,[in] LPCOLESTR pszFormalParams,[in] LPCOLESTR pszProcedureName,[in] LPCOLESTR pszItemName,[in] LPCOLESTR pszDelimiter,[in] DWORD dwCookie,[in] DWORD dwFlags,[in] IDispatch *pdispFor);
119}
120
121cpp_quote("#endif")
122cpp_quote("")
123cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.