getTypeInfo {SWinTypeLibs} | R Documentation |
This is used to get the C-level representation
of an ITypeInfo
object. Currently, one gets this from the ITypeLib
or from a COMIDispatch
object.
From this object, one can query the meta-information it contains
such as method definitions, etc.
getTypeInfo(obj, which)
obj |
the object from which to get the ITypeInfo object. |
which |
the index (1-based) of the element within the ITypeLib
whose ITypeInfo object is desired.
If this is omitted, all the elements in the type library are returned. |
An object of class ITypeInfo
which contains a slot giving the address of
the C-level object representing the ITypeInfo
object.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
if(file.exists("c:\\WINNT\\system32\\wmpui.dll")) { l = LoadTypeLib("c:\\WINNT\\system32\\wmpui.dll") print(getTypeInfo(l, 3)) }