Changeset 303 for trunk/Include/OAIdl.ab


Ignore:
Timestamp:
Aug 24, 2007, 11:14:46 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

フルコンパイルでのミスあぶり出し。註:修正は全て@300や@301以前に行われた。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/OAIdl.ab

    r300 r303  
    77
    88'#ifndef COM_NO_WINDOWS_H
    9 #include <windows.sbp>
    10 #include <ole2.ab>
     9#require <windows.sbp>
     10#require <ole2.ab>
    1111'#endif /*COM_NO_WINDOWS_H*/
    1212
    13 #include <objidl.sbp>
     13#require <objidl.sbp>
    1414
    1515#ifndef __IOleAutomationTypes_INTERFACE_DEFINED__
    1616#define __IOleAutomationTypes_INTERFACE_DEFINED__
    17 
    18 TypeDef SCODE = Long
    1917
    2018/* interface IOleAutomationTypes */
     
    694692Const Enum VARKIND
    695693    VAR_PERINSTANCE = 0
    696     VAR_STATIC = VAR_PERINSTANCE + 1
    697     VAR_CONST = VAR_STATIC + 1
    698     VAR_DISPATCH = VAR_CONST + 1
     694    VAR_STATIC = 1
     695    VAR_CONST = 2
     696    VAR_DISPATCH = 3
    699697End Enum
    700698
     
    893891    Function DeleteFuncDesc(
    894892        /* [in] */ index As DWord) As HRESULT
    895 
    896893    Function DeleteFuncDescByMemId(
    897894        /* [in] */ memid As *MEMBERID,
    898895        /* [in] */ invKind As *INVOKEKIND) As HRESULT
    899 
    900896    Function DeleteVarDesc(
    901897        /* [in] */ index As DWord) As HRESULT
    902 
    903898    Function DeleteVarDescByMemId(
    904899        /* [in] */ memid As *MEMBERID) As HRESULT
    905 
    906900    Function DeleteImplType(
    907901        /* [in] */ index As DWord) As HRESULT
    908 
    909902    Function SetCustData(
    910903        /* [in] */ ByRef guid As GUID,
    911904        /* [in] */ ByRef VarVal As VARIANT) As HRESULT
    912 
    913905    Function SetFuncCustData(
    914906        /* [in] */ index As DWord,
    915907        /* [in] */ ByRef guid As GUID,
    916908        /* [in] */ ByRef VarVal As VARIANT) As HRESULT
    917 
    918909    Function SetParamCustData(
    919910        /* [in] */ indexFunc As DWord,
     
    921912        /* [in] */ ByRef guid As GUID,
    922913        /* [in] */ ByRef VarVal As VARIANT) As HRESULT
    923 
    924914    Function SetVarCustData(
    925915        /* [in] */ index As DWord,
    926916        /* [in] */ ByRef guid As GUID,
    927917        /* [in] */ ByRef VarVal As VARIANT) As HRESULT
    928 
    929918    Function SetImplTypeCustData(
    930919        /* [in] */ index As DWord,
    931920        /* [in] */ ByRef guid As GUID,
    932921        /* [in] */ ByRef VarVal As VARIANT) As HRESULT
    933 
    934922    Function SetHelpStringContext(
    935923        /* [in] */ dwHelpStringContext As DWord) As HRESULT
    936 
    937924    Function SetFuncHelpStringContext(
    938925        /* [in] */ index As DWord,
    939926        /* [in] */ dwHelpStringContext As DWord) As HRESULT
    940 
    941927    Function SetVarHelpStringContext(
    942928        /* [in] */ index As DWord,
    943929        /* [in] */ dwHelpStringContext As DWord) As HRESULT
    944 
    945930    Function Invalidate() As HRESULT
    946 
    947931    Function SetName(
    948932        /* [in] */ szName As LPOLESTR) As HRESULT
     
    959943
    960944TypeDef LPCREATETYPELIB = /* [unique] */ *ICreateTypeLib
    961 
    962945
    963946Dim IID_ICreateTypeLib = [&h00020406, &h0000, &h0000, [&hC0, &h00, &h00, &h00, &h00, &h00, &h00, &h46]] As IID
     
    968951        /* [in] */ szName As LPOLESTR,
    969952        /* [in] */ tkind As *TYPEKIND,
    970         /* [out] */ ByRef pCTInfo As *ICreateTypeInfo) As HRESULT
    971 
     953        /* [out] */ ByRef CTInfo As ICreateTypeInfo) As HRESULT
    972954    Function SetName(
    973955        /* [in] */ szName As LPOLESTR) As HRESULT
    974 
    975956    Function SetVersion(
    976957        /* [in] */ wMajorVerNum As Word,
    977958        /* [in] */ wMinorVerNum As Word) As HRESULT
    978 
    979959    Function SetGuid(
    980960        /* [in] */ ByRef guid As GUID) As HRESULT
    981 
    982961    Function SetDocString(
    983962        /* [in] */ szDoc As LPOLESTR) As HRESULT
    984 
    985963    Function SetHelpFileName(
    986964        /* [in] */ szHelpFileName As LPOLESTR) As HRESULT
    987 
    988965    Function SetHelpContext(
    989966        /* [in] */ dwHelpContext As DWord) As HRESULT
    990 
    991967    Function SetLcid(
    992968        /* [in] */ lcid As LCID) As HRESULT
    993 
    994969    Function SetLibFlags(
    995970        /* [in] */ uLibFlags As DWord) As HRESULT
    996 
    997971    Function SaveAllChanges() As HRESULT
    998972End Interface
    999 
    1000973
    1001974#endif  /* __ICreateTypeLib_INTERFACE_DEFINED__ */
     
    1017990    Function DeleteTypeInfo(
    1018991        /* [in] */ szName As LPOLESTR) As HRESULT
    1019 
    1020992    Function SetCustData(
    1021993        /* [in] */ ByRef guid As GUID,
    1022994        /* [in] */ ByRef VarVal As VARIANT) As HRESULT
    1023 
    1024995    Function SetHelpStringContext(
    1025996        /* [in] */ dwHelpStringContext As DWord) As HRESULT
    1026 
    1027997    Function SetHelpStringDll(
    1028998        /* [in] */ szFileName As LPOLESTR) As HRESULT
    1029 
    1030999End Interface
    10311000
     
    11821151    Function /* [local] */ GetTypeAttr(
    11831152        /* [out] */ ByRef pTypeAttr As *TYPEATTR) As HRESULT
    1184 
    11851153    Function GetTypeComp(
    1186         /* [out] */ ByRef pTComp As *ITypeComp) As HRESULT
    1187 
     1154        /* [out] */ ByRef TComp As ITypeComp) As HRESULT
    11881155    Function /* [local] */ GetFuncDesc(
    11891156        /* [in] */ index As DWord,
    11901157        /* [out] */ ByRef pFuncDesc As *FUNCDESC) As HRESULT
    1191 
    11921158    Function /* [local] */ GetVarDesc(
    11931159        /* [in] */ index As DWord,
    11941160        /* [out] */ ByRef pVarDesc As *VARDESC) As HRESULT
    1195 
    11961161    Function /* [local] */ GetNames(
    11971162        /* [in] */ memid As MEMBERID,
     
    11991164        /* [in] */ cMaxNames As DWord,
    12001165        /* [out] */ ByRef cNames As DWord) As HRESULT
    1201 
    12021166    Function GetRefTypeOfImplType(
    12031167        /* [in] */ index As DWord,
    12041168        /* [out] */ ByRef RefType As HREFTYPE) As HRESULT
    1205 
    12061169    Function GetImplTypeFlags(
    12071170        /* [in] */ index As DWord,
    12081171        /* [out] */ ByRef ImplTypeFlags As Long) As HRESULT
    1209 
    12101172    Function /* [local] */ GetIDsOfNames(
    12111173        /* [size_is][in] */ rgszNames As *LPOLESTR,
    12121174        /* [in] */ cNames As DWord,
    12131175        /* [size_is][out] */ pMemId As *MEMBERID) As HRESULT
    1214 
    12151176    Function /* [local] */ Invoke(
    12161177        /* [in] */ pvInstance As VoidPtr,
     
    12211182        /* [out] */ ByRef ExcepInfo As EXCEPINFO,
    12221183        /* [out] */ ByRef uArgErr As DWord) As HRESULT
    1223 
    12241184    Function /* [local] */ GetDocumentation(
    12251185        /* [in] */ memid As MEMBERID,
     
    12281188        /* [out] */ ByRef dwHelpContext As DWord,
    12291189        /* [out] */ ByRef BstrHelpFile As BSTR) As HRESULT
    1230 
    12311190    Function /* [local] */ GetDllEntry(
    12321191        /* [in] */ memid As MEMBERID,
     
    12351194        /* [out] */ ByRef BstrName As BSTR,
    12361195        /* [out] */ ByRef wOrdinal As Word) As HRESULT
    1237 
    12381196    Function GetRefTypeInfo(
    12391197        /* [in] */ hRefType As HREFTYPE,
    1240         /* [out] */ ByRef pTInfo As *ITypeInfo) As HRESULT
    1241 
     1198        /* [out] */ ByRef TInfo As ITypeInfo) As HRESULT
    12421199    Function /* [local] */ AddressOfMember(
    12431200        /* [in] */ memid As MEMBERID,
    12441201        /* [in] */ invKind As INVOKEKIND,
    12451202        /* [out] */ ByRef pv As VoidPtr) As HRESULT
    1246 
    12471203    Function /* [local] */ CreateInstance(
    1248         /* [in] */ pUnkOuter As *IUnknown,
     1204        /* [in] */ pUnkOuter As IUnknown,
    12491205        /* [in] */ ByRef riid As IID,
    12501206        /* [iid_is][out] */ ByRef pvObj As Any) As HRESULT
    1251 
    12521207    Function GetMops(
    12531208        /* [in] */ memid As MEMBERID,
    12541209        /* [out] */ ByRef BstrMops As BSTR) As HRESULT
    1255 
    12561210    Function /* [local] */ GetContainingTypeLib(
    1257         /* [out] */ ByRef pTLib As *ITypeLib,
     1211        /* [out] */ ByRef TLib As ITypeLib,
    12581212        /* [out] */ ByRef Index As DWord) As HRESULT
    1259 
    12601213    Sub /* [local] */ ReleaseTypeAttr(
    12611214        /* [in] */ pTypeAttr As *TYPEATTR)
    1262 
    12631215    Sub /* [local] */ ReleaseFuncDesc(
    12641216        /* [in] */ pFuncDesc As *FUNCDESC)
    1265 
    12661217    Sub /* [local] */ ReleaseVarDesc(
    12671218        /* [in] */ pVarDesc As *VARDESC)
     
    16451596        /* [out] */ ByRef cbSize As DWord) As HRESULT
    16461597    Function GetTypeInfo(
    1647         /* [out] */ ByRef pTypeInfo As *ITypeInfo) As HRESULT
     1598        /* [out] */ ByRef TypeInfo As ITypeInfo) As HRESULT
    16481599    Function GetField(
    16491600        /* [in] */ pvData As VoidPtr,
     
    16561607        /* [out] */ ByRef pvDataCArray As VoidPtr) As HRESULT
    16571608    Function PutField(
    1658         /* [in] */ wFlags As DWord,
     1609        /* [in] */ wFlags As DWord,
    16591610        /* [out][in] */ pvData As VoidPtr,
    16601611        /* [in] */ szFieldName As LPCOLESTR,
    16611612        /* [in] */ ByRef varField As VARIANT) As HRESULT
    16621613    Function PutFieldNoCopy(
    1663         /* [in] */ wFlags As DWord,
     1614        /* [in] */ wFlags As DWord,
    16641615        /* [out][in] */ pvData As VoidPtr,
    16651616        /* [in] */ szFieldName As LPCOLESTR,
     
    17181669        /* [in] */ pszPropName As LPCOLESTR,
    17191670        /* [out][in] */ ByRef Var As VARIANT,
    1720         /* [in] */ pErrorLog As *IErrorLog) As HRESULT
     1671        /* [in] */ ErrorLog As IErrorLog) As HRESULT
    17211672
    17221673    Function Write(
Note: See TracChangeset for help on using the changeset viewer.