getFuncs: Meta-Information about Functions

getFuncsR Documentation

Meta-Information about Functions

Description

This is a generic function that retrieves information describing the collection of different functions or routines within a type library or an (D)COM object.

Usage

getFuncs(x, lib = NULL)

Arguments

x

the object in which to lookup the functions. This can be a ITypeInfo-class or a COMIDispatch-class. The former is computed from the ITypeLib object.

lib

an ITypeLib-class object associated with the ITypeInfo-class (i.e. the value of x) object in which the functions are to be found. It is often helpful to be able to specify this to avoid extra computations. Specifically, we can use cached values for a library via the INamedTypeLib-class which pre-fetches the primary components of the library and avoids the overhead of recomputing them each time they are needed.

Value

A list of FunctionDescription-class objects.

Author(s)

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

References

http://msdn.microsoft.com/library http://www.omegahat.org/SWinTypeLibs

See Also

getElements LoadTypeLib COMCreate .COM


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