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

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

getTypeInfoCount

UInt getTypeInfoCount()

getTypeInfo

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

getTypeInfoType

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

getTypeInfoOfGuid

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

getLibAttr

Pointer getLibAttr()
                   throws ComException
Throws:
ComException

getTypeComp

ITypeComp getTypeComp()
                      throws ComException
Throws:
ComException

getDocumentation

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

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

findName

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

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