Changeset 77 for Include/OAIdl.ab


Ignore:
Timestamp:
Jan 27, 2007, 12:04:09 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

Controlの追加とそれに伴う修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/OAIdl.ab

    r42 r77  
    936936    Inherits IUnknown
    937937
    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
     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
    10211021End Interface
    10221022
     
    12391239/* [unique][uuid][object] */
    12401240
    1241 Typedef /* [unique] */ LPENUMVARIANT = *IEnumVARIANT
     1241Typedef LPENUMVARIANT = /* [unique] */ *IEnumVARIANT
    12421242
    12431243Dim IID_IEnumVARIANT = [&h00020404, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     
    12601260#endif  /* __IEnumVARIANT_INTERFACE_DEFINED__ */
    12611261
    1262 #ifdef __UNDECLARED__
    1263 
    12641262#ifndef __ITypeComp_INTERFACE_DEFINED__
    12651263#define __ITypeComp_INTERFACE_DEFINED__
     
    12681266/* [unique][uuid][object] */
    12691267
    1270 TypeDef /* [unique] */ ITypeComp *LPTYPECOMP;
     1268TypeDef LPTYPECOMP = /* [unique] */ *ITypeComp
    12711269
    12721270/* [v1_enum] */
     
    12851283    lptcomp As *ITypeComp
    12861284End Union
     1285*/
     1286Type BINDPTR
     1287    p As VoidPtr '暫定
     1288End Type
    12871289
    12881290TypeDef LPBINDPTR = *BINDPTR
    1289 */
    1290 
    1291 EXTERN_C const IID IID_ITypeComp;
    1292 
    1293     MIDL_INTERFACE("00020403-0000-0000-C000-000000000046")
    1294     ITypeComp : public IUnknown
    1295     {
    1296     public:
    1297         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Bind(
    1298             /* [in] */ LPOLESTR szName,
    1299             /* [in] */ ULONG lHashVal,
    1300             /* [in] */ WORD wFlags,
    1301             /* [out] */ ITypeInfo **ppTInfo,
    1302             /* [out] */ DESCKIND *pDescKind,
    1303             /* [out] */ BINDPTR *pBindPtr) As HRESULT
    1304 
    1305         virtual /* [local] */ HRESULT STDMETHODCALLTYPE BindType(
    1306             /* [in] */ LPOLESTR szName,
    1307             /* [in] */ ULONG lHashVal,
    1308             /* [out] */ ITypeInfo **ppTInfo,
    1309             /* [out] */ ITypeComp **ppTComp) As HRESULT
    1310 
    1311     };
    1312 
     1291
     1292Dim IID_ITypeComp = [&h00020403, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     1293
     1294Interface ITypeComp
     1295    Inherits IUnknown
     1296
     1297    Function /* [local] */ Bind(
     1298        /* [in] */ szName As LPOLESTR,
     1299        /* [in] */ HashVal As DWord,
     1300        /* [in] */ wFlags As Word,
     1301        /* [out] */ ByRef pTInfo As *ITypeInfo,
     1302        /* [out] */ ByRef DescKind As DESCKIND,
     1303        /* [out] */ ByRef BindPtr As BINDPTR) As HRESULT
     1304
     1305    Function /* [local] */ BindType(
     1306        /* [in] */ szName As LPOLESTR,
     1307        /* [in] */ HashVal As DWord,
     1308        /* [out] */ ByRef pTInfo As *ITypeInfo,
     1309        /* [out] */ ByRef pTComp As *ITypeComp) As HRESULT
     1310End Interface
    13131311
    13141312#endif  /* __ITypeComp_INTERFACE_DEFINED__ */
    1315 
    13161313
    13171314#ifndef __ITypeInfo_INTERFACE_DEFINED__
     
    13211318/* [unique][uuid][object] */
    13221319
    1323 TypeDef /* [unique] */ ITypeInfo *LPTYPEINFO;
    1324 
    1325 
    1326 EXTERN_C const IID IID_ITypeInfo;
    1327 
    1328     MIDL_INTERFACE("00020401-0000-0000-C000-000000000046")
    1329     ITypeInfo : public IUnknown
    1330     {
    1331     public:
    1332         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetTypeAttr(
    1333             /* [out] */ TYPEATTR **ppTypeAttr) As HRESULT
    1334 
    1335         Function GetTypeComp(
    1336             /* [out] */ ITypeComp **ppTComp) As HRESULT
    1337 
    1338         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetFuncDesc(
    1339             /* [in] */ UINT index,
    1340             /* [out] */ FUNCDESC **ppFuncDesc) As HRESULT
    1341 
    1342         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetVarDesc(
    1343             /* [in] */ UINT index,
    1344             /* [out] */ VARDESC **ppVarDesc) As HRESULT
    1345 
    1346         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetNames(
    1347             /* [in] */ MEMBERID memid,
    1348             /* [length_is][size_is][out] */ BSTR *rgBstrNames,
    1349             /* [in] */ UINT cMaxNames,
    1350             /* [out] */ UINT *pcNames) As HRESULT
    1351 
    1352         Function GetRefTypeOfImplType(
    1353             /* [in] */ UINT index,
    1354             /* [out] */ HREFTYPE *pRefType) As HRESULT
    1355 
    1356         Function GetImplTypeFlags(
    1357             /* [in] */ UINT index,
    1358             /* [out] */ INT *pImplTypeFlags) As HRESULT
    1359 
    1360         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetIDsOfNames(
    1361             /* [size_is][in] */ LPOLESTR *rgszNames,
    1362             /* [in] */ UINT cNames,
    1363             /* [size_is][out] */ MEMBERID *pMemId) As HRESULT
    1364 
    1365         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Invoke(
    1366             /* [in] */ PVOID pvInstance,
    1367             /* [in] */ MEMBERID memid,
    1368             /* [in] */ WORD wFlags,
    1369             /* [out][in] */ DISPPARAMS *pDispParams,
    1370             /* [out] */ VARIANT *pVarResult,
    1371             /* [out] */ EXCEPINFO *pExcepInfo,
    1372             /* [out] */ UINT *puArgErr) As HRESULT
    1373 
    1374         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetDocumentation(
    1375             /* [in] */ MEMBERID memid,
    1376             /* [out] */ BSTR *pBstrName,
    1377             /* [out] */ BSTR *pBstrDocString,
    1378             /* [out] */ DWORD *pdwHelpContext,
    1379             /* [out] */ BSTR *pBstrHelpFile) As HRESULT
    1380 
    1381         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetDllEntry(
    1382             /* [in] */ MEMBERID memid,
    1383             /* [in] */ INVOKEKIND invKind,
    1384             /* [out] */ BSTR *pBstrDllName,
    1385             /* [out] */ BSTR *pBstrName,
    1386             /* [out] */ WORD *pwOrdinal) As HRESULT
    1387 
    1388         Function GetRefTypeInfo(
    1389             /* [in] */ HREFTYPE hRefType,
    1390             /* [out] */ ITypeInfo **ppTInfo) As HRESULT
    1391 
    1392         virtual /* [local] */ HRESULT STDMETHODCALLTYPE AddressOfMember(
    1393             /* [in] */ MEMBERID memid,
    1394             /* [in] */ INVOKEKIND invKind,
    1395             /* [out] */ PVOID *ppv) As HRESULT
    1396 
    1397         virtual /* [local] */ HRESULT STDMETHODCALLTYPE CreateInstance(
    1398             /* [in] */ IUnknown *pUnkOuter,
    1399             /* [in] */ REFIID riid,
    1400             /* [iid_is][out] */ PVOID *ppvObj) As HRESULT
    1401 
    1402         Function GetMops(
    1403             /* [in] */ MEMBERID memid,
    1404             /* [out] */ BSTR *pBstrMops) As HRESULT
    1405 
    1406         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetContainingTypeLib(
    1407             /* [out] */ ITypeLib **ppTLib,
    1408             /* [out] */ UINT *pIndex) As HRESULT
    1409 
    1410         virtual /* [local] */ void STDMETHODCALLTYPE ReleaseTypeAttr(
    1411             /* [in] */ TYPEATTR *pTypeAttr) As HRESULT
    1412 
    1413         virtual /* [local] */ void STDMETHODCALLTYPE ReleaseFuncDesc(
    1414             /* [in] */ FUNCDESC *pFuncDesc) As HRESULT
    1415 
    1416         virtual /* [local] */ void STDMETHODCALLTYPE ReleaseVarDesc(
    1417             /* [in] */ VARDESC *pVarDesc) As HRESULT
    1418 
    1419     };
     1320TypeDef LPTYPEINFO = /* [unique] */ *ITypeInfo
     1321
     1322Dim IID_ITypeInfo = [&H00020401, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     1323
     1324Interface ITypeInfo
     1325    Inherits IUnknown
     1326
     1327    Function /* [local] */ GetTypeAttr(
     1328        /* [out] */ ByRef pTypeAttr As *TYPEATTR) As HRESULT
     1329
     1330    Function GetTypeComp(
     1331        /* [out] */ ByRef pTComp As *ITypeComp) As HRESULT
     1332
     1333    Function /* [local] */ GetFuncDesc(
     1334        /* [in] */ index As DWord,
     1335        /* [out] */ ByRef pFuncDesc As *FUNCDESC) As HRESULT
     1336
     1337    Function /* [local] */ GetVarDesc(
     1338        /* [in] */ index As DWord,
     1339        /* [out] */ ByRef pVarDesc As *VARDESC) As HRESULT
     1340
     1341    Function /* [local] */ GetNames(
     1342        /* [in] */ memid As MEMBERID,
     1343        /* [length_is][size_is][out] */ rgBstrNames As *BSTR,
     1344        /* [in] */ cMaxNames As DWord,
     1345        /* [out] */ ByRef cNames As DWord) As HRESULT
     1346
     1347    Function GetRefTypeOfImplType(
     1348        /* [in] */ index As DWord,
     1349        /* [out] */ ByRef RefType As HREFTYPE) As HRESULT
     1350
     1351    Function GetImplTypeFlags(
     1352        /* [in] */ index As DWord,
     1353        /* [out] */ ByRef ImplTypeFlags As Long) As HRESULT
     1354
     1355    Function /* [local] */ GetIDsOfNames(
     1356        /* [size_is][in] */ rgszNames As *LPOLESTR,
     1357        /* [in] */ cNames As DWord,
     1358        /* [size_is][out] */ pMemId As *MEMBERID) As HRESULT
     1359
     1360    Function /* [local] */ Invoke(
     1361        /* [in] */ pvInstance As VoidPtr,
     1362        /* [in] */ memid As MEMBERID,
     1363        /* [in] */ wFlags As Word,
     1364        /* [out][in] */ ByRef DispParams As DISPPARAMS,
     1365        /* [out] */ ByRef VarResult As VARIANT,
     1366        /* [out] */ ByRef ExcepInfo As EXCEPINFO,
     1367        /* [out] */ ByRef uArgErr As DWord) As HRESULT
     1368
     1369    Function /* [local] */ GetDocumentation(
     1370        /* [in] */ memid As MEMBERID,
     1371        /* [out] */ ByRef BstrName As BSTR,
     1372        /* [out] */ ByRef BstrDocString As BSTR,
     1373        /* [out] */ ByRef dwHelpContext As DWord,
     1374        /* [out] */ ByRef BstrHelpFile As BSTR) As HRESULT
     1375
     1376    Function /* [local] */ GetDllEntry(
     1377        /* [in] */ memid As MEMBERID,
     1378        /* [in] */ invKind As INVOKEKIND,
     1379        /* [out] */ ByRef BstrDllName As BSTR,
     1380        /* [out] */ ByRef BstrName As BSTR,
     1381        /* [out] */ ByRef wOrdinal As Word) As HRESULT
     1382
     1383    Function GetRefTypeInfo(
     1384        /* [in] */ hRefType As HREFTYPE,
     1385        /* [out] */ ByRef pTInfo As *ITypeInfo) As HRESULT
     1386
     1387    Function /* [local] */ AddressOfMember(
     1388        /* [in] */ memid As MEMBERID,
     1389        /* [in] */ invKind As INVOKEKIND,
     1390        /* [out] */ ByRef pv As VoidPtr) As HRESULT
     1391
     1392    Function /* [local] */ CreateInstance(
     1393        /* [in] */ pUnkOuter As *IUnknown,
     1394        /* [in] */ ByRef riid As IID,
     1395        /* [iid_is][out] */ ByRef pvObj As Any) As HRESULT
     1396
     1397    Function GetMops(
     1398        /* [in] */ memid As MEMBERID,
     1399        /* [out] */ ByRef BstrMops As BSTR) As HRESULT
     1400
     1401    Function /* [local] */ GetContainingTypeLib(
     1402        /* [out] */ ByRef pTLib As *ITypeLib,
     1403        /* [out] */ ByRef Index As UINT) As HRESULT
     1404
     1405    Function /* [local] */ void STDMETHODCALLTYPE ReleaseTypeAttr(
     1406        /* [in] */ pTypeAttr As *TYPEATTR) As HRESULT
     1407
     1408    Function /* [local] */ void STDMETHODCALLTYPE ReleaseFuncDesc(
     1409        /* [in] */ pFuncDesc As *FUNCDESC) As HRESULT
     1410
     1411    Function /* [local] */ void STDMETHODCALLTYPE ReleaseVarDesc(
     1412        /* [in] */ pVarDesc As *VARDESC) As HRESULT
     1413End Interface
    14201414
    14211415#endif  /* __ITypeInfo_INTERFACE_DEFINED__ */
    1422 
    14231416
    14241417#ifndef __ITypeInfo2_INTERFACE_DEFINED__
     
    14281421/* [unique][uuid][object] */
    14291422
    1430 TypeDef /* [unique] */ ITypeInfo2 *LPTYPEINFO2;
    1431 
    1432 
    1433 EXTERN_C const IID IID_ITypeInfo2;
    1434 
    1435     MIDL_INTERFACE("00020412-0000-0000-C000-000000000046")
    1436     ITypeInfo2 : public ITypeInfo
    1437     {
    1438     public:
    1439         Function GetTypeKind(
    1440             /* [out] */ TYPEKIND *pTypeKind) As HRESULT
    1441 
    1442         Function GetTypeFlags(
    1443             /* [out] */ ULONG *pTypeFlags) As HRESULT
    1444 
    1445         Function GetFuncIndexOfMemId(
    1446             /* [in] */ MEMBERID memid,
    1447             /* [in] */ INVOKEKIND invKind,
    1448             /* [out] */ UINT *pFuncIndex) As HRESULT
    1449 
    1450         Function GetVarIndexOfMemId(
    1451             /* [in] */ MEMBERID memid,
    1452             /* [out] */ UINT *pVarIndex) As HRESULT
    1453 
    1454         Function GetCustData(
    1455             /* [in] */ REFGUID guid,
    1456             /* [out] */ VARIANT *pVarVal) As HRESULT
    1457 
    1458         Function GetFuncCustData(
    1459             /* [in] */ UINT index,
    1460             /* [in] */ REFGUID guid,
    1461             /* [out] */ VARIANT *pVarVal) As HRESULT
    1462 
    1463         Function GetParamCustData(
    1464             /* [in] */ UINT indexFunc,
    1465             /* [in] */ UINT indexParam,
    1466             /* [in] */ REFGUID guid,
    1467             /* [out] */ VARIANT *pVarVal) As HRESULT
    1468 
    1469         Function GetVarCustData(
    1470             /* [in] */ UINT index,
    1471             /* [in] */ REFGUID guid,
    1472             /* [out] */ VARIANT *pVarVal) As HRESULT
    1473 
    1474         Function GetImplTypeCustData(
    1475             /* [in] */ UINT index,
    1476             /* [in] */ REFGUID guid,
    1477             /* [out] */ VARIANT *pVarVal) As HRESULT
    1478 
    1479         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetDocumentation2(
    1480             /* [in] */ MEMBERID memid,
    1481             /* [in] */ LCID lcid,
    1482             /* [out] */ BSTR *pbstrHelpString,
    1483             /* [out] */ DWORD *pdwHelpStringContext,
    1484             /* [out] */ BSTR *pbstrHelpStringDll) As HRESULT
    1485 
    1486         Function GetAllCustData(
    1487             /* [out] */ CUSTDATA *pCustData) As HRESULT
    1488 
    1489         Function GetAllFuncCustData(
    1490             /* [in] */ UINT index,
    1491             /* [out] */ CUSTDATA *pCustData) As HRESULT
    1492 
    1493         Function GetAllParamCustData(
    1494             /* [in] */ UINT indexFunc,
    1495             /* [in] */ UINT indexParam,
    1496             /* [out] */ CUSTDATA *pCustData) As HRESULT
    1497 
    1498         Function GetAllVarCustData(
    1499             /* [in] */ UINT index,
    1500             /* [out] */ CUSTDATA *pCustData) As HRESULT
    1501 
    1502         Function GetAllImplTypeCustData(
    1503             /* [in] */ UINT index,
    1504             /* [out] */ CUSTDATA *pCustData) As HRESULT
    1505 
    1506     };
    1507 
     1423TypeDef LPTYPEINFO2 = /* [unique] */ *ITypeInfo2
     1424
     1425Dim IID_ITypeInfo2 = [&H00020412, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     1426
     1427Interface ITypeInfo2
     1428    Inherits ITypeInfo
     1429
     1430    Function GetTypeKind(
     1431        /* [out] */ ByRef TypeKind As TYPEKIND) As HRESULT
     1432    Function GetTypeFlags(
     1433        /* [out] */ ByRef TypeFlags As DWord) As HRESULT
     1434    Function GetFuncIndexOfMemId(
     1435        /* [in] */ memid As MEMBERID,
     1436        /* [in] */ invKind As INVOKEKIND,
     1437        /* [out] */ ByRef FuncIndex As DWord) As HRESULT
     1438    Function GetVarIndexOfMemId(
     1439        /* [in] */ memid As MEMBERID,
     1440        /* [out] */ ByRef pVarIndex As DWord) As HRESULT
     1441    Function GetCustData(
     1442        /* [in] */ ByRef guid As GUID,
     1443        /* [out] */ ByRef VarVal As VARIANT) As HRESULT
     1444    Function GetFuncCustData(
     1445        /* [in] */ index As DWord,
     1446        /* [in] */ ByRef guid As GUID,
     1447        /* [out] */ ByRef VarVal As VARIANT) As HRESULT
     1448    Function GetParamCustData(
     1449        /* [in] */ indexFunc As DWord,
     1450        /* [in] */ indexParam As DWord,
     1451        /* [in] */ ByRef guid As GUID,
     1452        /* [out] */ ByRef VarVal As VARIANT) As HRESULT
     1453    Function GetVarCustData(
     1454        /* [in] */ UINT index,
     1455        /* [in] */ ByRef guid As GUID,
     1456        /* [out] */ ByRef VarVal As VARIANT) As HRESULT
     1457    Function GetImplTypeCustData(
     1458        /* [in] */ UINT index,
     1459        /* [in] */ ByRef guid As GUID,
     1460        /* [out] */ ByRef VarVal As VARIANT) As HRESULT
     1461    virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetDocumentation2(
     1462        /* [in] */ memid As MEMBERID,
     1463        /* [in] */ lcid As LCID,
     1464        /* [out] */ ByRef bstrHelpString As BSTR,
     1465        /* [out] */ ByRef dwHelpStringContext As DWord,
     1466        /* [out] */ ByRef bstrHelpStringDll As BSTR) As HRESULT
     1467    Function GetAllCustData(
     1468        /* [out] */ ByRef CustData As CUSTDATA) As HRESULT
     1469    Function GetAllFuncCustData(
     1470        /* [in] */ index As DWord,
     1471        /* [out] */ ByRef CustData As CUSTDATA) As HRESULT
     1472    Function GetAllParamCustData(
     1473        /* [in] */ indexFunc As DWord,
     1474        /* [in] */ indexParam As DWord,
     1475        /* [out] */ ByRef CustData As CUSTDATA) As HRESULT
     1476    Function GetAllVarCustData(
     1477        /* [in] */ index As DWord,
     1478        /* [out] */ ByRef CustData As CUSTDATA) As HRESULT
     1479    Function GetAllImplTypeCustData(
     1480        /* [in] */ index As DWord,
     1481        /* [out] */ ByRef CustData As CUSTDATA) As HRESULT
     1482End Interface
    15081483
    15091484#endif  /* __ITypeInfo2_INTERFACE_DEFINED__ */
    15101485
     1486#ifdef __UNDECLARED__
    15111487
    15121488#ifndef __ITypeLib_INTERFACE_DEFINED__
     
    15161492/* [unique][uuid][object] */
    15171493
    1518 TypeDef /* [v1_enum] */
    1519 enum tagSYSKIND
    1520     {   SYS_WIN16 = 0,
    1521     SYS_WIN32 = SYS_WIN16 + 1,
    1522     SYS_MAC = SYS_WIN32 + 1,
     1494/* [v1_enum] */
     1495Enum SYSKIND
     1496    SYS_WIN16 = 0
     1497    SYS_WIN32 = SYS_WIN16 + 1
     1498    SYS_MAC = SYS_WIN32 + 1
    15231499    SYS_WIN64 = SYS_MAC + 1
    1524     }   SYSKIND;
    1525 
    1526 TypeDef /* [v1_enum] */
    1527 enum tagLIBFLAGS
    1528     {   LIBFLAG_FRESTRICTED = 0x1,
    1529     LIBFLAG_FCONTROL = 0x2,
    1530     LIBFLAG_FHIDDEN = 0x4,
    1531     LIBFLAG_FHASDISKIMAGE = 0x8
    1532     }   LIBFLAGS;
     1500End Enum
     1501
     1502/* [v1_enum] */
     1503Enum LIBFLAGS
     1504    LIBFLAG_FRESTRICTED = &h1
     1505    LIBFLAG_FCONTROL = &h2
     1506    LIBFLAG_FHIDDEN = &h4
     1507    LIBFLAG_FHASDISKIMAGE = &h8
     1508End Enum
    15331509
    15341510TypeDef /* [unique] */ ITypeLib *LPTYPELIB;
    15351511
    1536 TypeDef struct tagTLIBATTR
    1537     {
    1538     GUID guid;
    1539     LCID lcid;
    1540     SYSKIND syskind;
    1541     WORD wMajorVerNum;
    1542     WORD wMinorVerNum;
    1543     WORD wLibFlags;
    1544     }   TLIBATTR;
     1512Type TLIBATTR
     1513    guid As GUID
     1514    lcid As LCID
     1515    syskind As SYSKIND
     1516    wMajorVerNum As Word
     1517    wMinorVerNum As Word
     1518    wLibFlags As Word
     1519End Type
    15451520
    15461521TypeDef struct tagTLIBATTR *LPTLIBATTR;
Note: See TracChangeset for help on using the changeset viewer.