Changeset 303 for trunk/Include/OAIdl.ab
- Timestamp:
- Aug 24, 2007, 11:14:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/OAIdl.ab
r300 r303 7 7 8 8 '#ifndef COM_NO_WINDOWS_H 9 # include <windows.sbp>10 # include <ole2.ab>9 #require <windows.sbp> 10 #require <ole2.ab> 11 11 '#endif /*COM_NO_WINDOWS_H*/ 12 12 13 # include <objidl.sbp>13 #require <objidl.sbp> 14 14 15 15 #ifndef __IOleAutomationTypes_INTERFACE_DEFINED__ 16 16 #define __IOleAutomationTypes_INTERFACE_DEFINED__ 17 18 TypeDef SCODE = Long19 17 20 18 /* interface IOleAutomationTypes */ … … 694 692 Const Enum VARKIND 695 693 VAR_PERINSTANCE = 0 696 VAR_STATIC = VAR_PERINSTANCE +1697 VAR_CONST = VAR_STATIC + 1698 VAR_DISPATCH = VAR_CONST + 1694 VAR_STATIC = 1 695 VAR_CONST = 2 696 VAR_DISPATCH = 3 699 697 End Enum 700 698 … … 893 891 Function DeleteFuncDesc( 894 892 /* [in] */ index As DWord) As HRESULT 895 896 893 Function DeleteFuncDescByMemId( 897 894 /* [in] */ memid As *MEMBERID, 898 895 /* [in] */ invKind As *INVOKEKIND) As HRESULT 899 900 896 Function DeleteVarDesc( 901 897 /* [in] */ index As DWord) As HRESULT 902 903 898 Function DeleteVarDescByMemId( 904 899 /* [in] */ memid As *MEMBERID) As HRESULT 905 906 900 Function DeleteImplType( 907 901 /* [in] */ index As DWord) As HRESULT 908 909 902 Function SetCustData( 910 903 /* [in] */ ByRef guid As GUID, 911 904 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 912 913 905 Function SetFuncCustData( 914 906 /* [in] */ index As DWord, 915 907 /* [in] */ ByRef guid As GUID, 916 908 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 917 918 909 Function SetParamCustData( 919 910 /* [in] */ indexFunc As DWord, … … 921 912 /* [in] */ ByRef guid As GUID, 922 913 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 923 924 914 Function SetVarCustData( 925 915 /* [in] */ index As DWord, 926 916 /* [in] */ ByRef guid As GUID, 927 917 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 928 929 918 Function SetImplTypeCustData( 930 919 /* [in] */ index As DWord, 931 920 /* [in] */ ByRef guid As GUID, 932 921 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 933 934 922 Function SetHelpStringContext( 935 923 /* [in] */ dwHelpStringContext As DWord) As HRESULT 936 937 924 Function SetFuncHelpStringContext( 938 925 /* [in] */ index As DWord, 939 926 /* [in] */ dwHelpStringContext As DWord) As HRESULT 940 941 927 Function SetVarHelpStringContext( 942 928 /* [in] */ index As DWord, 943 929 /* [in] */ dwHelpStringContext As DWord) As HRESULT 944 945 930 Function Invalidate() As HRESULT 946 947 931 Function SetName( 948 932 /* [in] */ szName As LPOLESTR) As HRESULT … … 959 943 960 944 TypeDef LPCREATETYPELIB = /* [unique] */ *ICreateTypeLib 961 962 945 963 946 Dim IID_ICreateTypeLib = [&h00020406, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID … … 968 951 /* [in] */ szName As LPOLESTR, 969 952 /* [in] */ tkind As *TYPEKIND, 970 /* [out] */ ByRef pCTInfo As *ICreateTypeInfo) As HRESULT 971 953 /* [out] */ ByRef CTInfo As ICreateTypeInfo) As HRESULT 972 954 Function SetName( 973 955 /* [in] */ szName As LPOLESTR) As HRESULT 974 975 956 Function SetVersion( 976 957 /* [in] */ wMajorVerNum As Word, 977 958 /* [in] */ wMinorVerNum As Word) As HRESULT 978 979 959 Function SetGuid( 980 960 /* [in] */ ByRef guid As GUID) As HRESULT 981 982 961 Function SetDocString( 983 962 /* [in] */ szDoc As LPOLESTR) As HRESULT 984 985 963 Function SetHelpFileName( 986 964 /* [in] */ szHelpFileName As LPOLESTR) As HRESULT 987 988 965 Function SetHelpContext( 989 966 /* [in] */ dwHelpContext As DWord) As HRESULT 990 991 967 Function SetLcid( 992 968 /* [in] */ lcid As LCID) As HRESULT 993 994 969 Function SetLibFlags( 995 970 /* [in] */ uLibFlags As DWord) As HRESULT 996 997 971 Function SaveAllChanges() As HRESULT 998 972 End Interface 999 1000 973 1001 974 #endif /* __ICreateTypeLib_INTERFACE_DEFINED__ */ … … 1017 990 Function DeleteTypeInfo( 1018 991 /* [in] */ szName As LPOLESTR) As HRESULT 1019 1020 992 Function SetCustData( 1021 993 /* [in] */ ByRef guid As GUID, 1022 994 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1023 1024 995 Function SetHelpStringContext( 1025 996 /* [in] */ dwHelpStringContext As DWord) As HRESULT 1026 1027 997 Function SetHelpStringDll( 1028 998 /* [in] */ szFileName As LPOLESTR) As HRESULT 1029 1030 999 End Interface 1031 1000 … … 1182 1151 Function /* [local] */ GetTypeAttr( 1183 1152 /* [out] */ ByRef pTypeAttr As *TYPEATTR) As HRESULT 1184 1185 1153 Function GetTypeComp( 1186 /* [out] */ ByRef pTComp As *ITypeComp) As HRESULT 1187 1154 /* [out] */ ByRef TComp As ITypeComp) As HRESULT 1188 1155 Function /* [local] */ GetFuncDesc( 1189 1156 /* [in] */ index As DWord, 1190 1157 /* [out] */ ByRef pFuncDesc As *FUNCDESC) As HRESULT 1191 1192 1158 Function /* [local] */ GetVarDesc( 1193 1159 /* [in] */ index As DWord, 1194 1160 /* [out] */ ByRef pVarDesc As *VARDESC) As HRESULT 1195 1196 1161 Function /* [local] */ GetNames( 1197 1162 /* [in] */ memid As MEMBERID, … … 1199 1164 /* [in] */ cMaxNames As DWord, 1200 1165 /* [out] */ ByRef cNames As DWord) As HRESULT 1201 1202 1166 Function GetRefTypeOfImplType( 1203 1167 /* [in] */ index As DWord, 1204 1168 /* [out] */ ByRef RefType As HREFTYPE) As HRESULT 1205 1206 1169 Function GetImplTypeFlags( 1207 1170 /* [in] */ index As DWord, 1208 1171 /* [out] */ ByRef ImplTypeFlags As Long) As HRESULT 1209 1210 1172 Function /* [local] */ GetIDsOfNames( 1211 1173 /* [size_is][in] */ rgszNames As *LPOLESTR, 1212 1174 /* [in] */ cNames As DWord, 1213 1175 /* [size_is][out] */ pMemId As *MEMBERID) As HRESULT 1214 1215 1176 Function /* [local] */ Invoke( 1216 1177 /* [in] */ pvInstance As VoidPtr, … … 1221 1182 /* [out] */ ByRef ExcepInfo As EXCEPINFO, 1222 1183 /* [out] */ ByRef uArgErr As DWord) As HRESULT 1223 1224 1184 Function /* [local] */ GetDocumentation( 1225 1185 /* [in] */ memid As MEMBERID, … … 1228 1188 /* [out] */ ByRef dwHelpContext As DWord, 1229 1189 /* [out] */ ByRef BstrHelpFile As BSTR) As HRESULT 1230 1231 1190 Function /* [local] */ GetDllEntry( 1232 1191 /* [in] */ memid As MEMBERID, … … 1235 1194 /* [out] */ ByRef BstrName As BSTR, 1236 1195 /* [out] */ ByRef wOrdinal As Word) As HRESULT 1237 1238 1196 Function GetRefTypeInfo( 1239 1197 /* [in] */ hRefType As HREFTYPE, 1240 /* [out] */ ByRef pTInfo As *ITypeInfo) As HRESULT 1241 1198 /* [out] */ ByRef TInfo As ITypeInfo) As HRESULT 1242 1199 Function /* [local] */ AddressOfMember( 1243 1200 /* [in] */ memid As MEMBERID, 1244 1201 /* [in] */ invKind As INVOKEKIND, 1245 1202 /* [out] */ ByRef pv As VoidPtr) As HRESULT 1246 1247 1203 Function /* [local] */ CreateInstance( 1248 /* [in] */ pUnkOuter As *IUnknown,1204 /* [in] */ pUnkOuter As IUnknown, 1249 1205 /* [in] */ ByRef riid As IID, 1250 1206 /* [iid_is][out] */ ByRef pvObj As Any) As HRESULT 1251 1252 1207 Function GetMops( 1253 1208 /* [in] */ memid As MEMBERID, 1254 1209 /* [out] */ ByRef BstrMops As BSTR) As HRESULT 1255 1256 1210 Function /* [local] */ GetContainingTypeLib( 1257 /* [out] */ ByRef pTLib As *ITypeLib,1211 /* [out] */ ByRef TLib As ITypeLib, 1258 1212 /* [out] */ ByRef Index As DWord) As HRESULT 1259 1260 1213 Sub /* [local] */ ReleaseTypeAttr( 1261 1214 /* [in] */ pTypeAttr As *TYPEATTR) 1262 1263 1215 Sub /* [local] */ ReleaseFuncDesc( 1264 1216 /* [in] */ pFuncDesc As *FUNCDESC) 1265 1266 1217 Sub /* [local] */ ReleaseVarDesc( 1267 1218 /* [in] */ pVarDesc As *VARDESC) … … 1645 1596 /* [out] */ ByRef cbSize As DWord) As HRESULT 1646 1597 Function GetTypeInfo( 1647 /* [out] */ ByRef pTypeInfo As *ITypeInfo) As HRESULT1598 /* [out] */ ByRef TypeInfo As ITypeInfo) As HRESULT 1648 1599 Function GetField( 1649 1600 /* [in] */ pvData As VoidPtr, … … 1656 1607 /* [out] */ ByRef pvDataCArray As VoidPtr) As HRESULT 1657 1608 Function PutField( 1658 1609 /* [in] */ wFlags As DWord, 1659 1610 /* [out][in] */ pvData As VoidPtr, 1660 1611 /* [in] */ szFieldName As LPCOLESTR, 1661 1612 /* [in] */ ByRef varField As VARIANT) As HRESULT 1662 1613 Function PutFieldNoCopy( 1663 1614 /* [in] */ wFlags As DWord, 1664 1615 /* [out][in] */ pvData As VoidPtr, 1665 1616 /* [in] */ szFieldName As LPCOLESTR, … … 1718 1669 /* [in] */ pszPropName As LPCOLESTR, 1719 1670 /* [out][in] */ ByRef Var As VARIANT, 1720 /* [in] */ pErrorLog As *IErrorLog) As HRESULT1671 /* [in] */ ErrorLog As IErrorLog) As HRESULT 1721 1672 1722 1673 Function Write(
Note:
See TracChangeset
for help on using the changeset viewer.