com.jniwrapper.win32.automation
Interface ITypeLib

All Superinterfaces:
AutoDeleteParameter, IUnknown
All Known Implementing Classes:
ITypeLibImpl

public interface ITypeLib
extends IUnknown

This interface retrieves information about objects in a type library.

See Also:
Microsoft Automation SDK documentation

Field Summary
static java.lang.String INTERFACE_IDENTIFIER
           
 
Method Summary
 void findName(BStr szNameBuf, ULongInt lHashVal, ITypeInfo ppTInfo, MemberID rgMemId, UInt16 pcFound)
           
 void getDocumentation(Int index, BStr pBstrName, BStr pBstrDocString, UInt32 pdwHelpContext, BStr pBstrHelpFile)
           
 Pointer getLibAttr()
           
 ITypeComp getTypeComp()
           
 ITypeInfo getTypeInfo(UInt index)
           
 UInt getTypeInfoCount()
           
 ITypeInfo getTypeInfoOfGuid(GUID iid)
           
 TypeKind getTypeInfoType(UInt index)
           
 VariantBool isName(BStr szNameBuf, ULongInt lHashVal)
           
 void releaseTLibAttr(Pointer pTLibAttr)
           
 
Methods inherited from interface com.jniwrapper.win32.com.IUnknown
addRef, isNull, queryInterface, release, setNull
 
Methods inherited from interface com.jniwrapper.AutoDeleteParameter
isAutoDelete, setAutoDelete
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values
Method Detail

getTypeInfoCount

public UInt getTypeInfoCount()

getTypeInfo

public ITypeInfo getTypeInfo(UInt index)
                      throws ComException
Parameters:
index - [in]
Throws:
ComException

getTypeInfoType

public TypeKind getTypeInfoType(UInt index)
                         throws ComException
Parameters:
index - [in]
Throws:
ComException

getTypeInfoOfGuid

public ITypeInfo getTypeInfoOfGuid(GUID iid)
                            throws ComException
Parameters:
iid - [in]
Throws:
ComException

getLibAttr

public Pointer getLibAttr()
                   throws ComException
Throws:
ComException

getTypeComp

public ITypeComp getTypeComp()
                      throws ComException
Throws:
ComException

getDocumentation

public void getDocumentation(Int index,
                             BStr pBstrName,
                             BStr pBstrDocString,
                             UInt32 pdwHelpContext,
                             BStr pBstrHelpFile)
                      throws ComException
Parameters:
index - [in]
pBstrName - [out]
pBstrDocString - [out]
pdwHelpContext - [out]
pBstrHelpFile - [out]
Throws:
ComException

isName

public VariantBool isName(BStr szNameBuf,
                          ULongInt lHashVal)
                   throws ComException
Parameters:
szNameBuf - [in]
lHashVal - [in]
Throws:
ComException

findName

public void findName(BStr szNameBuf,
                     ULongInt lHashVal,
                     ITypeInfo ppTInfo,
                     MemberID rgMemId,
                     UInt16 pcFound)
              throws ComException
Parameters:
szNameBuf - [in]
lHashVal - [in]
ppTInfo - [out]
rgMemId - [out]
pcFound - [in,out]
Throws:
ComException

releaseTLibAttr

public void releaseTLibAttr(Pointer pTLibAttr)
Parameters:
pTLibAttr - [in,out]