Changeset 42 for Include/OAIdl.ab
- Timestamp:
- Dec 30, 2006, 11:20:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/OAIdl.ab
r35 r42 6 6 #define _INC_OAIDL_AB 7 7 8 ' verify that the <rpcndr.h> version is high enough to compile this file*/9 '/*10 '#ifndef __REQUIRED_RPCNDR_H_VERSION__11 '#define __REQUIRED_RPCNDR_H_VERSION__ 47512 '#endif13 '14 '#include "rpc.h"15 '#include "rpcndr.h"16 '17 '#ifndef __RPCNDR_H_VERSION__18 '#error this stub requires an updated version of <rpcndr.h>19 '#endif // __RPCNDR_H_VERSION__20 '21 8 '#ifndef COM_NO_WINDOWS_H 22 '#include "windows.h" 23 '#include "ole2.h" 9 #include <windows.sbp> 10 #include <ole2.ab> 24 11 '#endif /*COM_NO_WINDOWS_H*/ 25 12 26 #include <ole2.ab> 27 '/* header files for imported files */ 28 '#include "objidl.h" 13 #include <objidl.sbp> 29 14 30 15 #ifndef __IOleAutomationTypes_INTERFACE_DEFINED__ … … 174 159 Const FADF_RESERVED = &hf008 175 160 161 Const Enum VARENUM 'WTypes.idl 162 VT_EMPTY = 0 163 VT_NULL = 1 164 VT_I2 = 2 165 VT_I4 = 3 166 VT_R4 = 4 167 VT_R8 = 5 168 VT_CY = 6 169 VT_DATE = 7 170 VT_BSTR = 8 171 VT_DISPATCH = 9 172 VT_ERROR = 10 173 VT_BOOL = 11 174 VT_VARIANT = 12 175 VT_UNKNOWN = 13 176 VT_DECIMAL = 14 177 VT_I1 = 16 178 VT_UI1 = 17 179 VT_UI2 = 18 180 VT_UI4 = 19 181 VT_I8 = 20 182 VT_UI8 = 21 183 VT_INT = 22 184 VT_UINT = 23 185 VT_VOID = 24 186 VT_HRESULT = 25 187 VT_PTR = 26 188 VT_SAFEARRAY = 27 189 VT_CARRAY = 28 190 VT_USERDEFINED = 29 191 VT_LPSTR = 30 192 VT_LPWSTR = 31 193 VT_RECORD = 36 194 VT_INT_PTR = 37 195 VT_UINT_PTR = 38 196 VT_FILETIME = 64 197 VT_BLOB = 65 198 VT_STREAM = 66 199 VT_STORAGE = 67 200 VT_STREAMED_OBJECT = 68 201 VT_STORED_OBJECT = 69 202 VT_BLOB_OBJECT = 70 203 VT_CF = 71 204 VT_CLSID = 72 205 VT_VERSIONED_STREAM = 73 206 VT_BSTR_BLOB = &hfff 207 VT_VECTOR = &h1000 208 VT_ARRAY = &h2000 209 VT_BYREF = &h4000 210 VT_RESERVED = &h8000 211 VT_ILLEGAL = &hffff 212 VT_ILLEGALMASKED = &hfff 213 VT_TYPEMASK = &hfff 214 End Enum 215 176 216 Class VARIANT 177 217 Public … … 588 628 Private 589 629 p As VoidPtr 590 ' 591 ' 592 ' 593 ' 594 ' 595 ' 630 ' /* [switch_is][switch_type] */ Union 631 ' /* [case()] */ lptdesc As *TYPEDESC 632 ' /* [case()] */ lpadesc As *ARRAYDESC 633 ' /* [case()] */ hreftype As HREFTYPE 634 ' /* [default] */ /* Empty union arm */ 635 ' End Union 596 636 Public 597 637 vt As VARTYPE … … 752 792 /* [v1_enum] */ 753 793 Const Enum INVOKEKIND 754 INVOKE_FUNC 755 INVOKE_PROPERTYGET 756 INVOKE_PROPERTYPUT 757 INVOKE_PROPERTYPUTREF 794 INVOKE_FUNC = 1 795 INVOKE_PROPERTYGET = 2 796 INVOKE_PROPERTYPUT = 4 797 INVOKE_PROPERTYPUTREF = 8 758 798 End Enum 759 799 … … 868 908 869 909 Type CUSTDATAITEM 870 871 910 guid As GUID 911 varValue As VARIANTARG 872 912 End Type 873 913 … … 883 923 #endif /* __IOleAutomationTypes_INTERFACE_DEFINED__ */ 884 924 885 #ifdef __UNDEFINED__886 887 925 #ifndef __ICreateTypeInfo_INTERFACE_DEFINED__ 888 926 #define __ICreateTypeInfo_INTERFACE_DEFINED__ … … 891 929 /* [local][unique][uuid][object] */ 892 930 893 'typedef /* [unique] */ ICreateTypeInfo *LPCREATETYPEINFO; 894 895 896 EXTERN_C const IID IID_ICreateTypeInfo; 897 898 MIDL_INTERFACE("00020405-0000-0000-C000-000000000046") 899 ICreateTypeInfo : public IUnknown 900 { 901 public: 902 Function SetGuid( 903 /* [in] */ REFGUID guid) As HRESULT 904 905 Function SetTypeFlags( 906 /* [in] */ UINT uTypeFlags) As HRESULT 907 908 Function SetDocString( 909 /* [in] */ LPOLESTR pStrDoc) As HRESULT 910 911 Function SetHelpContext( 912 /* [in] */ DWORD dwHelpContext) As HRESULT 913 914 Function SetVersion( 915 /* [in] */ WORD wMajorVerNum, 916 /* [in] */ WORD wMinorVerNum) As HRESULT 917 918 Function AddRefTypeInfo( 919 /* [in] */ ITypeInfo *pTInfo, 920 /* [in] */ HREFTYPE *phRefType) As HRESULT 921 922 Function AddFuncDesc( 923 /* [in] */ UINT index, 924 /* [in] */ FUNCDESC *pFuncDesc) As HRESULT 925 926 Function AddImplType( 927 /* [in] */ UINT index, 928 /* [in] */ HREFTYPE hRefType) As HRESULT 929 930 Function SetImplTypeFlags( 931 /* [in] */ UINT index, 932 /* [in] */ INT implTypeFlags) As HRESULT 933 934 Function SetAlignment( 935 /* [in] */ WORD cbAlignment) As HRESULT 936 937 Function SetSchema( 938 /* [in] */ LPOLESTR pStrSchema) As HRESULT 939 940 Function AddVarDesc( 941 /* [in] */ UINT index, 942 /* [in] */ VARDESC *pVarDesc) As HRESULT 943 944 Function SetFuncAndParamNames( 945 /* [in] */ UINT index, 946 /* [in][size_is][in] */ LPOLESTR *rgszNames, 947 /* [in] */ UINT cNames) As HRESULT 948 949 Function SetVarName( 950 /* [in] */ UINT index, 951 /* [in] */ LPOLESTR szName) As HRESULT 952 953 Function SetTypeDescAlias( 954 /* [in] */ TYPEDESC *pTDescAlias) As HRESULT 955 956 Function DefineFuncAsDllEntry( 957 /* [in] */ UINT index, 958 /* [in] */ LPOLESTR szDllName, 959 /* [in] */ LPOLESTR szProcName) As HRESULT 960 961 Function SetFuncDocString( 962 /* [in] */ UINT index, 963 /* [in] */ LPOLESTR szDocString) As HRESULT 964 965 Function SetVarDocString( 966 /* [in] */ UINT index, 967 /* [in] */ LPOLESTR szDocString) As HRESULT 968 969 Function SetFuncHelpContext( 970 /* [in] */ UINT index, 971 /* [in] */ DWORD dwHelpContext) As HRESULT 972 973 Function SetVarHelpContext( 974 /* [in] */ UINT index, 975 /* [in] */ DWORD dwHelpContext) As HRESULT 976 977 Function SetMops( 978 /* [in] */ UINT index, 979 /* [in] */ BSTR bstrMops) As HRESULT 980 981 Function SetTypeIdldesc( 982 /* [in] */ IDLDESC *pIdlDesc) As HRESULT 983 984 Function LayOut( void) As HRESULT 985 986 }; 931 'TypeDef /* [unique] */ ICreateTypeInfo *LPCREATETYPEINFO; 932 933 Dim IID_ICreateTypeInfo = [&h00020405, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID 934 935 Interface ICreateTypeInfo 936 Inherits IUnknown 937 938 Function SetGuid( 939 /* [in] */ ByRef guid As GUID) As HRESULT 940 941 Function SetTypeFlags( 942 /* [in] */ uTypeFlags As DWord) As HRESULT 943 944 Function SetDocString( 945 /* [in] */ pStrDoc As LPOLESTR) As HRESULT 946 947 Function SetHelpContext( 948 /* [in] */ dwHelpContext As DWord) As HRESULT 949 950 Function SetVersion( 951 /* [in] */ wMajorVerNum As Word, 952 /* [in] */ wMinorVerNum As Word) As HRESULT 953 954 Function AddRefTypeInfo( 955 /* [in] */ pTInfo As VoidPtr /* *ITypeInfo */, 956 /* [in] */ByRef hRefType As HREFTYPE) As HRESULT 957 958 Function AddFuncDesc( 959 /* [in] */ index As DWord, 960 /* [in] */ ByRef FuncDesc As FUNCDESC) As HRESULT 961 962 Function AddImplType( 963 /* [in] */ index As DWord, 964 /* [in] */ hRefType As HREFTYPE) As HRESULT 965 966 Function SetImplTypeFlags( 967 /* [in] */ index As DWord, 968 /* [in] */ implTypeFlags As Long) As HRESULT 969 970 Function SetAlignment( 971 /* [in] */ cbAlignment As Long) As HRESULT 972 973 Function SetSchema( 974 /* [in] */ pStrSchema As LPOLESTR) As HRESULT 975 976 Function AddVarDesc( 977 /* [in] */ index As DWord, 978 /* [in] */ ByRef VarDesc As VARDESC) As HRESULT 979 980 Function SetFuncAndParamNames( 981 /* [in] */ index As DWord, 982 /* [in][size_is][in] */ rgszNames As *LPOLESTR, 983 /* [in] */ cNames As DWord) As HRESULT 984 985 Function SetVarName( 986 /* [in] */ index As DWord, 987 /* [in] */ szName As LPOLESTR) As HRESULT 988 989 Function SetTypeDescAlias( 990 /* [in] */ ByRef TDescAlias As TYPEDESC) As HRESULT 991 992 Function DefineFuncAsDllEntry( 993 /* [in] */ index As DWord, 994 /* [in] */ szDllName As LPOLESTR, 995 /* [in] */ zProcName As LPOLESTR) As HRESULT 996 997 Function SetFuncDocString( 998 /* [in] */ index As DWord, 999 /* [in] */ szDocString As LPOLESTR) As HRESULT 1000 1001 Function SetVarDocString( 1002 /* [in] */ index As DWord, 1003 /* [in] */ szDocString As LPOLESTR) As HRESULT 1004 1005 Function SetFuncHelpContext( 1006 /* [in] */ index As DWord, 1007 /* [in] */ dwHelpContext As DWord) As HRESULT 1008 1009 Function SetVarHelpContext( 1010 /* [in] */ index As DWord, 1011 /* [in] */ dwHelpContext As DWord) As HRESULT 1012 1013 Function SetMops( 1014 /* [in] */ index As DWord, 1015 /* [in] */ bstrMops As BSTR) As HRESULT 1016 1017 Function SetTypeIdldesc( 1018 /* [in] */ ByRef IdlDesc As IDLDESC) As HRESULT 1019 1020 Function LayOut() As HRESULT 1021 End Interface 987 1022 988 1023 #endif /* __ICreateTypeInfo_INTERFACE_DEFINED__ */ 989 990 1024 991 1025 #ifndef __ICreateTypeInfo2_INTERFACE_DEFINED__ … … 995 1029 /* [local][unique][uuid][object] */ 996 1030 997 'typedef /* [unique] */ ICreateTypeInfo2 *LPCREATETYPEINFO2; 998 999 1000 EXTERN_C const IID IID_ICreateTypeInfo2; 1001 1002 MIDL_INTERFACE("0002040E-0000-0000-C000-000000000046") 1003 ICreateTypeInfo2 : public ICreateTypeInfo 1004 { 1005 public: 1006 Function DeleteFuncDesc( 1007 /* [in] */ UINT index) As HRESULT 1008 1009 Function DeleteFuncDescByMemId( 1010 /* [in] */ MEMBERID memid, 1011 /* [in] */ INVOKEKIND invKind) As HRESULT 1012 1013 Function DeleteVarDesc( 1014 /* [in] */ UINT index) As HRESULT 1015 1016 Function DeleteVarDescByMemId( 1017 /* [in] */ MEMBERID memid) As HRESULT 1018 1019 Function DeleteImplType( 1020 /* [in] */ UINT index) As HRESULT 1021 1022 Function SetCustData( 1023 /* [in] */ REFGUID guid, 1024 /* [in] */ VARIANT *pVarVal) As HRESULT 1025 1026 Function SetFuncCustData( 1027 /* [in] */ UINT index, 1028 /* [in] */ REFGUID guid, 1029 /* [in] */ VARIANT *pVarVal) As HRESULT 1030 1031 Function SetParamCustData( 1032 /* [in] */ UINT indexFunc, 1033 /* [in] */ UINT indexParam, 1034 /* [in] */ REFGUID guid, 1035 /* [in] */ VARIANT *pVarVal) As HRESULT 1036 1037 Function SetVarCustData( 1038 /* [in] */ UINT index, 1039 /* [in] */ REFGUID guid, 1040 /* [in] */ VARIANT *pVarVal) As HRESULT 1041 1042 Function SetImplTypeCustData( 1043 /* [in] */ UINT index, 1044 /* [in] */ REFGUID guid, 1045 /* [in] */ VARIANT *pVarVal) As HRESULT 1046 1047 Function SetHelpStringContext( 1048 /* [in] */ ULONG dwHelpStringContext) As HRESULT 1049 1050 Function SetFuncHelpStringContext( 1051 /* [in] */ UINT index, 1052 /* [in] */ ULONG dwHelpStringContext) As HRESULT 1053 1054 Function SetVarHelpStringContext( 1055 /* [in] */ UINT index, 1056 /* [in] */ ULONG dwHelpStringContext) As HRESULT 1057 1058 Function Invalidate( void) As HRESULT 1059 1060 Function SetName( 1061 /* [in] */ LPOLESTR szName) As HRESULT 1062 1063 }; 1064 1065 1031 TypeDef LPCREATETYPEINFO2 = /* [unique] */ *ICreateTypeInfo2 1032 1033 Dim IID_ICreateTypeInfo2 = [&h0002040E, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID 1034 1035 Interface ICreateTypeInfo2 1036 Inherits ICreateTypeInfo 1037 1038 Function DeleteFuncDesc( 1039 /* [in] */ index As DWord) As HRESULT 1040 1041 Function DeleteFuncDescByMemId( 1042 /* [in] */ memid As *MEMBERID, 1043 /* [in] */ invKind As *INVOKEKIND) As HRESULT 1044 1045 Function DeleteVarDesc( 1046 /* [in] */ index As DWord) As HRESULT 1047 1048 Function DeleteVarDescByMemId( 1049 /* [in] */ memid As *MEMBERID) As HRESULT 1050 1051 Function DeleteImplType( 1052 /* [in] */ index As DWord) As HRESULT 1053 1054 Function SetCustData( 1055 /* [in] */ ByRef guid As GUID, 1056 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1057 1058 Function SetFuncCustData( 1059 /* [in] */ index As DWord, 1060 /* [in] */ ByRef guid As GUID, 1061 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1062 1063 Function SetParamCustData( 1064 /* [in] */ indexFunc As DWord, 1065 /* [in] */ indexParam As DWord, 1066 /* [in] */ ByRef guid As GUID, 1067 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1068 1069 Function SetVarCustData( 1070 /* [in] */ index As DWord, 1071 /* [in] */ ByRef guid As GUID, 1072 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1073 1074 Function SetImplTypeCustData( 1075 /* [in] */ index As DWord, 1076 /* [in] */ ByRef guid As GUID, 1077 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1078 1079 Function SetHelpStringContext( 1080 /* [in] */ dwHelpStringContext As DWord) As HRESULT 1081 1082 Function SetFuncHelpStringContext( 1083 /* [in] */ index As DWord, 1084 /* [in] */ dwHelpStringContext As DWord) As HRESULT 1085 1086 Function SetVarHelpStringContext( 1087 /* [in] */ index As DWord, 1088 /* [in] */ dwHelpStringContext As DWord) As HRESULT 1089 1090 Function Invalidate() As HRESULT 1091 1092 Function SetName( 1093 /* [in] */ szName As LPOLESTR) As HRESULT 1094 End Interface 1066 1095 1067 1096 #endif /* __ICreateTypeInfo2_INTERFACE_DEFINED__ */ … … 1074 1103 /* [local][unique][uuid][object] */ 1075 1104 1076 'typedef /* [unique] */ ICreateTypeLib *LPCREATETYPELIB; 1077 1078 1079 EXTERN_C const IID IID_ICreateTypeLib; 1080 1081 MIDL_INTERFACE("00020406-0000-0000-C000-000000000046") 1082 ICreateTypeLib : public IUnknown 1083 { 1084 public: 1085 Function CreateTypeInfo( 1086 /* [in] */ LPOLESTR szName, 1087 /* [in] */ TYPEKIND tkind, 1088 /* [out] */ ICreateTypeInfo **ppCTInfo) As HRESULT 1089 1090 Function SetName( 1091 /* [in] */ LPOLESTR szName) As HRESULT 1092 1093 Function SetVersion( 1094 /* [in] */ WORD wMajorVerNum, 1095 /* [in] */ WORD wMinorVerNum) As HRESULT 1096 1097 Function SetGuid( 1098 /* [in] */ REFGUID guid) As HRESULT 1099 1100 Function SetDocString( 1101 /* [in] */ LPOLESTR szDoc) As HRESULT 1102 1103 Function SetHelpFileName( 1104 /* [in] */ LPOLESTR szHelpFileName) As HRESULT 1105 1106 Function SetHelpContext( 1107 /* [in] */ DWORD dwHelpContext) As HRESULT 1108 1109 Function SetLcid( 1110 /* [in] */ LCID lcid) As HRESULT 1111 1112 Function SetLibFlags( 1113 /* [in] */ UINT uLibFlags) As HRESULT 1114 1115 Function SaveAllChanges( void) As HRESULT 1116 1117 }; 1105 TypeDef LPCREATETYPELIB = /* [unique] */ *ICreateTypeLib 1106 1107 1108 Dim IID_ICreateTypeLib = [&h00020406, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID 1109 Interface ICreateTypeLib 1110 Inherits IUnknown 1111 1112 Function CreateTypeInfo( 1113 /* [in] */ szName As LPOLESTR, 1114 /* [in] */ tkind As *TYPEKIND, 1115 /* [out] */ ByRef pCTInfo As *ICreateTypeInfo) As HRESULT 1116 1117 Function SetName( 1118 /* [in] */ szName As LPOLESTR) As HRESULT 1119 1120 Function SetVersion( 1121 /* [in] */ wMajorVerNum As Word, 1122 /* [in] */ wMinorVerNum As Word) As HRESULT 1123 1124 Function SetGuid( 1125 /* [in] */ ByRef guid As GUID) As HRESULT 1126 1127 Function SetDocString( 1128 /* [in] */ szDoc As LPOLESTR) As HRESULT 1129 1130 Function SetHelpFileName( 1131 /* [in] */ szHelpFileName As LPOLESTR) As HRESULT 1132 1133 Function SetHelpContext( 1134 /* [in] */ dwHelpContext As DWord) As HRESULT 1135 1136 Function SetLcid( 1137 /* [in] */ lcid As LCID) As HRESULT 1138 1139 Function SetLibFlags( 1140 /* [in] */ uLibFlags As DWord) As HRESULT 1141 1142 Function SaveAllChanges() As HRESULT 1143 End Interface 1118 1144 1119 1145 1120 1146 #endif /* __ICreateTypeLib_INTERFACE_DEFINED__ */ 1121 1122 1147 1123 1148 #ifndef __ICreateTypeLib2_INTERFACE_DEFINED__ … … 1127 1152 /* [local][unique][uuid][object] */ 1128 1153 1129 typedef /* [unique] */ ICreateTypeLib2 *LPCREATETYPELIB2; 1130 1131 1132 EXTERN_C const IID IID_ICreateTypeLib2; 1133 1134 MIDL_INTERFACE("0002040F-0000-0000-C000-000000000046") 1135 ICreateTypeLib2 : public ICreateTypeLib 1136 { 1137 public: 1138 Function DeleteTypeInfo( 1139 /* [in] */ LPOLESTR szName) As HRESULT 1140 1141 Function SetCustData( 1142 /* [in] */ REFGUID guid, 1143 /* [in] */ VARIANT *pVarVal) As HRESULT 1144 1145 Function SetHelpStringContext( 1146 /* [in] */ ULONG dwHelpStringContext) As HRESULT 1147 1148 Function SetHelpStringDll( 1149 /* [in] */ LPOLESTR szFileName) As HRESULT 1150 1151 }; 1154 TypeDef LPCREATETYPELIB2 = /* [unique] */ *ICreateTypeLib2 1155 1156 1157 Dim IID_ICreateTypeLib2 = [&h0002040F, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID 1158 1159 Interface ICreateTypeLib2 1160 Inherits ICreateTypeLib 1161 1162 Function DeleteTypeInfo( 1163 /* [in] */ szName As LPOLESTR) As HRESULT 1164 1165 Function SetCustData( 1166 /* [in] */ ByRef guid As GUID, 1167 /* [in] */ ByRef VarVal As VARIANT) As HRESULT 1168 1169 Function SetHelpStringContext( 1170 /* [in] */ dwHelpStringContext As DWord) As HRESULT 1171 1172 Function SetHelpStringDll( 1173 /* [in] */ szFileName As LPOLESTR) As HRESULT 1174 1175 End Interface 1152 1176 1153 1177 1154 1178 #endif /* __ICreateTypeLib2_INTERFACE_DEFINED__ */ 1155 1156 #endif '__UNDECLARED__1157 1179 1158 1180 #ifndef __IDispatch_INTERFACE_DEFINED__ … … 1246 1268 /* [unique][uuid][object] */ 1247 1269 1248 typedef /* [unique] */ ITypeComp *LPTYPECOMP; 1249 1250 typedef /* [v1_enum] */ 1251 enum tagDESCKIND 1252 { DESCKIND_NONE = 0, 1253 DESCKIND_FUNCDESC = DESCKIND_NONE + 1, 1254 DESCKIND_VARDESC = DESCKIND_FUNCDESC + 1, 1255 DESCKIND_TYPECOMP = DESCKIND_VARDESC + 1, 1256 DESCKIND_IMPLICITAPPOBJ = DESCKIND_TYPECOMP + 1, 1257 DESCKIND_MAX = DESCKIND_IMPLICITAPPOBJ + 1 1258 } DESCKIND; 1259 1260 typedef union tagBINDPTR 1261 { 1262 FUNCDESC *lpfuncdesc; 1263 VARDESC *lpvardesc; 1264 ITypeComp *lptcomp; 1265 } BINDPTR; 1266 1267 typedef union tagBINDPTR *LPBINDPTR; 1268 1270 TypeDef /* [unique] */ ITypeComp *LPTYPECOMP; 1271 1272 /* [v1_enum] */ 1273 Const Enum DESCKIND 1274 DESCKIND_NONE 1275 DESCKIND_FUNCDESC = DESCKIND_NONE 1276 DESCKIND_VARDESC = DESCKIND_FUNCDESC 1277 DESCKIND_TYPECOMP = DESCKIND_VARDESC 1278 DESCKIND_IMPLICITAPPOBJ = DESCKIND_TYPECOMP 1279 DESCKIND_MAX = DESCKIND_IMPLICITAPPOBJ 1280 End Enum 1281 /* 1282 Union BINDPTR 1283 lpfuncdesc As *FUNCDESC 1284 lpvardesc As *VARDESC 1285 lptcomp As *ITypeComp 1286 End Union 1287 1288 TypeDef LPBINDPTR = *BINDPTR 1289 */ 1269 1290 1270 1291 EXTERN_C const IID IID_ITypeComp; … … 1300 1321 /* [unique][uuid][object] */ 1301 1322 1302 typedef /* [unique] */ ITypeInfo *LPTYPEINFO;1323 TypeDef /* [unique] */ ITypeInfo *LPTYPEINFO; 1303 1324 1304 1325 … … 1407 1428 /* [unique][uuid][object] */ 1408 1429 1409 typedef /* [unique] */ ITypeInfo2 *LPTYPEINFO2;1430 TypeDef /* [unique] */ ITypeInfo2 *LPTYPEINFO2; 1410 1431 1411 1432 … … 1495 1516 /* [unique][uuid][object] */ 1496 1517 1497 typedef /* [v1_enum] */1518 TypeDef /* [v1_enum] */ 1498 1519 enum tagSYSKIND 1499 1520 { SYS_WIN16 = 0, … … 1503 1524 } SYSKIND; 1504 1525 1505 typedef /* [v1_enum] */1526 TypeDef /* [v1_enum] */ 1506 1527 enum tagLIBFLAGS 1507 1528 { LIBFLAG_FRESTRICTED = 0x1, … … 1511 1532 } LIBFLAGS; 1512 1533 1513 typedef /* [unique] */ ITypeLib *LPTYPELIB;1514 1515 typedef struct tagTLIBATTR1534 TypeDef /* [unique] */ ITypeLib *LPTYPELIB; 1535 1536 TypeDef struct tagTLIBATTR 1516 1537 { 1517 1538 GUID guid; … … 1523 1544 } TLIBATTR; 1524 1545 1525 typedef struct tagTLIBATTR *LPTLIBATTR;1546 TypeDef struct tagTLIBATTR *LPTLIBATTR; 1526 1547 1527 1548 … … 1585 1606 /* [unique][uuid][object] */ 1586 1607 1587 typedef /* [unique] */ ITypeLib2 *LPTYPELIB2;1608 TypeDef /* [unique] */ ITypeLib2 *LPTYPELIB2; 1588 1609 1589 1610 … … 1623 1644 /* [local][unique][uuid][object] */ 1624 1645 1625 typedef /* [unique] */ ITypeChangeEvents *LPTYPECHANGEEVENTS; 1626 1627 typedef 1628 enum tagCHANGEKIND 1629 { CHANGEKIND_ADDMEMBER = 0, 1646 TypeDef /* [unique] */ ITypeChangeEvents *LPTYPECHANGEEVENTS; 1647 1648 Enum CHANGEKIND 1649 CHANGEKIND_ADDMEMBER = 0, 1630 1650 CHANGEKIND_DELETEMEMBER = CHANGEKIND_ADDMEMBER + 1, 1631 1651 CHANGEKIND_SETNAMES = CHANGEKIND_DELETEMEMBER + 1, … … 1635 1655 CHANGEKIND_CHANGEFAILED = CHANGEKIND_INVALIDATE + 1, 1636 1656 CHANGEKIND_MAX = CHANGEKIND_CHANGEFAILED + 1 1637 } CHANGEKIND; 1657 End Enum 1638 1658 1639 1659 … … 1666 1686 /* [unique][uuid][object] */ 1667 1687 1668 typedef /* [unique] */ IErrorInfo *LPERRORINFO;1688 TypeDef /* [unique] */ IErrorInfo *LPERRORINFO; 1669 1689 1670 1690 … … 1701 1721 /* [unique][uuid][object] */ 1702 1722 1703 typedef /* [unique] */ ICreateErrorInfo *LPCREATEERRORINFO;1723 TypeDef /* [unique] */ ICreateErrorInfo *LPCREATEERRORINFO; 1704 1724 1705 1725 … … 1736 1756 /* [unique][uuid][object] */ 1737 1757 1738 typedef /* [unique] */ ISupportErrorInfo *LPSUPPORTERRORINFO;1758 TypeDef /* [unique] */ ISupportErrorInfo *LPSUPPORTERRORINFO; 1739 1759 1740 1760 … … 1824 1844 /* [uuid][object][local] */ 1825 1845 1826 typedef /* [unique] */ IRecordInfo *LPRECORDINFO;1846 TypeDef /* [unique] */ IRecordInfo *LPRECORDINFO; 1827 1847 1828 1848 … … 1898 1918 #endif /* __IRecordInfo_INTERFACE_DEFINED__ */ 1899 1919 1920 #endif ' __UNDEFINED__ 1921 1900 1922 1901 1923 #ifndef __IErrorLog_INTERFACE_DEFINED__ … … 1905 1927 /* [unique][uuid][object] */ 1906 1928 1907 typedef IErrorLog *LPERRORLOG; 1908 1909 1910 EXTERN_C const IID IID_IErrorLog; 1911 1912 MIDL_INTERFACE("3127CA40-446E-11CE-8135-00AA004BB851") 1913 IErrorLog : public IUnknown 1914 { 1915 public: 1916 Function AddError( 1917 /* [in] */ LPCOLESTR pszPropName, 1918 /* [in] */ EXCEPINFO *pExcepInfo) As HRESULT 1919 1920 }; 1929 TypeDef LPERRORLOG = *IErrorLog 1930 1931 Dim IID_IErrorLog = [&h3127CA40, &h446E, &h11CE, [&h81, &h35, &h00, &hAA, &h00, &h4B, &hB8, &h51]] As IID 1932 1933 Interface IErrorLog 1934 Inherits IUnknown 1935 1936 Function AddError( 1937 /* [in] */ pszPropName As LPCOLESTR, 1938 /* [in] */ ByRef pExcepInfo As EXCEPINFO) As HRESULT 1939 End Interface 1921 1940 1922 1941 #endif /* __IErrorLog_INTERFACE_DEFINED__ */ … … 1929 1948 /* [unique][uuid][object] */ 1930 1949 1931 typedef IPropertyBag *LPPROPERTYBAG; 1932 1933 1934 EXTERN_C const IID IID_IPropertyBag; 1935 1936 MIDL_INTERFACE("55272A00-42CB-11CE-8135-00AA004BB851") 1937 IPropertyBag : public IUnknown 1938 { 1939 public: 1940 virtual /* [local] */ HRESULT STDMETHODCALLTYPE Read( 1941 /* [in] */ LPCOLESTR pszPropName, 1942 /* [out][in] */ VARIANT *pVar, 1943 /* [in] */ IErrorLog *pErrorLog) As HRESULT 1944 1945 Function Write( 1946 /* [in] */ LPCOLESTR pszPropName, 1947 /* [in] */ VARIANT *pVar) As HRESULT 1948 1949 }; 1950 TypeDef LPPROPERTYBAG = *IPropertyBag 1951 1952 Dim IID_IPropertyBag = [&h55272A00, &h42CB, &h11CE, [&h81, &h35, &h00, &hAA, &h00, &h4B, &hB8, &h51]] As IID 1953 1954 Interface IPropertyBag 1955 Inherits IUnknown 1956 1957 /* [local] */ Function Read( 1958 /* [in] */ pszPropName As LPCOLESTR, 1959 /* [out][in] */ ByRef Var As VARIANT, 1960 /* [in] */ pErrorLog As *IErrorLog) As HRESULT 1961 1962 Function Write( 1963 /* [in] */ pszPropName As LPCOLESTR, 1964 /* [in] */ ByRef Var As VARIANT) As HRESULT 1965 End Interface 1966 1950 1967 #endif /* __IPropertyBag_INTERFACE_DEFINED__ */ 1951 1968 1952 #endif ' __UNDEFINED__1953 1954 1969 #endif '_INC_OAIDL_AB
Note:
See TracChangeset
for help on using the changeset viewer.