ITypeLibIdentifier-class: Information identifying a Type Library

ITypeLibIdentifier-classR Documentation

Information identifying a Type Library

Description

This class allows us to compute information about a loaded type library (see LoadTypeLib and LoadRegTypeLib) and find out information about it so that we can load it directly without needing an instance of any of the classes it describes. This allows us to load it directly using the Windows registry.

Objects from the Class

Objects of this class are usually created using a call to getTypeLibInfo. One can create instances of this class as templates to be passed to LoadTypeLib with wildcard information about the version numbers, etc. See the documentation for the C++ routine LoadRegTypeLib.

Slots

guid:

Object of class "character", the GUID string identifying the type library uniquely.

version:

Object of class "integer", an integer vector of length 2 giving the major and minor version numbers.

lcid:

Object of class "numeric", a single numeric value identifying the locale used for this type library.

flags:

Object of class "integer", a scalar value giving information about the properties of the library. This is a bit-wise OR'ing of elements from the enumeration c(restricted = 1, control = 2, hidden = 4, hasdiskimage =8). If 8 is not in the value, there is no file on the hard drive associated with this type library. The control bit if on indicates that the type library relates to visual controls. 1 and 4 refer to whether the library is visible to regular users. For more information, see the MSDN documentation for LIBFLAGS and TLIBATTR.

syskind:

Object of class "integer" a named integer which is really an enumeration identifying the type of system in which the library is installed. This is one of the values in the vector c(WIN16 = 0, WIN32 = 1, MAC = 2) and should be reasonably clear.

Methods

No methods defined with class "ITypeLibIdentifier" in the signature.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs http://www.geocities.com/cool_ranju/tlibs.html

See Also

getTypeLibInfo LoadTypeLib LoadRegTypeLib


omegahat/SWinTypeLibs documentation built on Jan. 17, 2024, 6:40 p.m.