Automation Functions
A version of this page is also available for
4/8/2010
The following table shows the Automation functions with a description of the purpose of each.
Note
Windows Mobile may not support all of the programming elements in this section. For information about differences between the COM implementation available for Windows Mobile devices and that available for Windows Embedded CE devices, see COM and DCOM in Windows Mobile Devices.
Programming element | Description |
---|---|
This function returns a BSTR, assigning each element of the vector to a character in the BSTR. |
|
This function creates an instance of a generic error object. |
|
This function creates a type library in the file/in-memory format that makes use of memory-mapped files for 32-bit platforms. |
|
This function uses type information to convert a set of names to DISPIDs. |
|
This function retrieves a parameter from the DISPPARAMS structure, checks both named parameters and positional parameters, and coerces the parameter to the specified type. |
|
This function automatically calls member functions on an interface, given the type information for the interface. |
|
This function obtains the error information pointer set by the previous call to SetErrorInfo in the current logical thread. |
|
This function uses registry information to load a type library. |
|
This function loads and registers a typelib2 type library. |
|
This function adds information about a type library to the system registry. |
|
This function increments the lock count of an array, and retrieves a pointer to the array data. |
|
This function allocates memory for a safearray, based on a descriptor created with SafeArrayAllocDescriptor. |
|
This function allocates memory for a safearray descriptor, allowing the creation of safearrays that contain elements with data types other than those provided by SafeArrayCreate. |
|
This function creates a copy of an existing safearray. |
|
This function copies the source array to the target array after releasing any resources in the target array. |
|
This function creates a new array descriptor, allocates and initializes the data for the array, and returns a pointer to the new array descriptor. |
|
This function creates a one-dimensional array whose lower bound is always zero. |
|
This function destroys an existing array descriptor and all of the data in the array. |
|
This function destroys all the data in a safearray. |
|
This function destroys a descriptor of a safearray. |
|
This function returns the number of dimensions in the array. |
|
This function retrieves a single element of the array. |
|
This function retrieves the size (in bytes) of the elements of a safearray. |
|
This function returns the lower bound for any dimension of a safearray. |
|
This function returns the upper bound for any dimension of a safearray. |
|
This function increments the lock count of an array, and places a pointer to the array data in pvData of the array descriptor. |
|
This function returns a pointer to an array element. |
|
This function assigns a single element to the array. |
|
This function changes the right most or least significant bound of a safearray. |
|
This function decrements the lock count of an array, and invalidates the pointer retrieved by SafeArrayAccessData. |
|
This function decrements the lock count of an array so it can be freed or resized. |
|
This function sets the error information object for the current thread of execution. |
|
This function allocates a new string and copies the passed string into it. |
|
This function takes an ANSI string as input, and returns a BSTR that contains an ANSI string. |
|
This function allocates a new string, copies cch characters from the passed string into it, and then appends a null character. |
|
This function frees a string allocated previously by SysAllocString, SysAllocStringByteLen, SysReAllocString, SysAllocStringLen, or SysReAllocStringLen. |
|
This function allocates a new BSTR and copies the passed string into it, then frees the BSTR referenced by pbstr, and finally resets pbstr to point to the new BSTR. |
|
This function creates a new BSTR that contains a specified number of characters from an old BSTR, and frees the old BSTR. |
|
This function returns the length (in bytes) of a BSTR. |
|
This function returns the length of a BSTR. |
|
This function converts the variant representation of time to system-time values. |
|
This function removes type library information from the system registry. |
|
This function converts variant data types to BOOL from CURRENCY. |
|
This function converts variant data types to BOOL from DATE. |
|
This function converts variant data types to BOOL from DECIMAL. |
|
This function converts variant data types to BOOL from IDispatch. |
|
This function converts variant data types to BOOL from short. |
|
This function converts variant data types to BOOL from long. |
|
This function converts variant data types to BOOL from float. |
|
This function converts variant data types to BOOL from double. |
|
This function converts variant data types to BOOL from OLECHAR. |
|
This function converts variant data types to BOOL from unsigned char. |
|
This function converts variant data types to BSTR from BOOL. |
|
This function converts variant data types to BSTR from CURRENCY. |
|
This function converts variant data types to BSTR from DATE. |
|
This function converts variant data types to BSTR from DECIMAL. |
|
This function converts variant data types to BSTR from IDispatch. |
|
This function converts variant data types to BSTR from short. |
|
This function converts variant data types to BSTR from long. |
|
This function converts variant data types to BSTR from float. |
|
This function converts variant data types to BSTR from double. |
|
This function converts variant data types to BSTR from BYTE. |
|
This function converts variant data types to CURRENCY from BOOL. |
|
This function converts variant data types to CURRENCY from DATE. |
|
This function converts variant data types to CURRENCY from DECIMAL. |
|
This function converts variant data types to CURRENCY from IDispatch. |
|
This function converts variant data types to CURRENCY from short. |
|
This function converts variant data types to CURRENCY from long. |
|
This function converts variant data types to CURRENCY from float. |
|
This function converts variant data types to CURRENCY from double. |
|
This function converts variant data types to CURRENCY from OLECHAR. |
|
This function converts variant data types to CURRENCY from BYTE. |
|
This function converts variant data types to DATE from BOOL. |
|
This function converts variant data types to date from CURRENCY. |
|
This function converts variant data types to DATE from DECIMAL. |
|
This function converts variant data types to DATE from IDispatch. |
|
This function converts variant data types to DATE from short. |
|
This function converts variant data types to DATE from long. |
|
This function converts variant data types to DATE from float. |
|
This function converts variant data types to DATE from double. |
|
This function converts variant data types to DATE from OLECHAR. |
|
This function packs a date. |
|
This function converts variant data types to DATE from BYTE. |
|
This function converts variant data types to DECIMAL from BOOL. |
|
This function converts variant data types to DECIMAL from CURRENCY. |
|
This function converts variant data types to DECIMAL from DATE. |
|
This function converts variant data types to DECIMAL from IDispatch. |
|
This function converts variant data types to DECIMAL from short. |
|
This function converts variant data types to DECIMAL from long. |
|
This function converts variant data types to DECIMAL from float. |
|
This function converts variant data types to DECIMAL from double. |
|
This function converts variant data types to DECIMAL from OLECHAR. |
|
This function converts variant data types to DECIMAL from BYTE. |
|
This function converts variant data types to short from BOOL. |
|
This function converts variant data types to short from CURRENCY. |
|
This function converts variant data types to short from DATE. |
|
This function converts variant data types to Short from DECIMAL. |
|
This function converts variant data types to short from IDispatch. |
|
This function converts variant data types to short from long. |
|
This function converts variant data types to short from float. |
|
This function converts variant data types to short from double. |
|
This function converts variant data types to short from OLECHAR. |
|
This function converts variant data types to short from BYTE. |
|
This function converts variant data types to long from BOOL. |
|
This function converts variant data types to long from CURRENCY. |
|
This function converts variant data types to long from DATE. |
|
This function converts variant data types to long from DECIMAL. |
|
This function converts variant data types to long from IDispatch. |
|
This function converts variant data types to long from short. |
|
This function converts variant data types to long from float. |
|
This function converts variant data types to long from double. |
|
This function converts variant data types to long from OLECHAR. |
|
This function converts variant data types to long from BYTE. |
|
This function converts a variant from one type to another. |
|
This function converts a variant from one type to another, using a LCID. |
|
This function clears a variant. |
|
This function frees the destination variant and makes a copy of the source variant. |
|
This function frees any existing content of the destination variant and makes a copy of the source VARIANT and VARIANTARG, performing the necessary indirection if the source is specified to be VT_BYREF. |
|
This function initializes a variant. |
|
This function converts the variant representation of time to system time values. |
|
This function converts the parsed number to a number of the VARIANT and VARIANTARG type. |
|
This function parses a string and creates a type-independent description of the number it represents. |
|
This function converts variant data types to float from BOOL. |
|
This function converts variant data types to float from CURRENCY. |
|
This function converts variant data types to float from DATE. |
|
This function converts variant data types to float from DECIMAL. |
|
This function converts variant data types to float from IDispatch. |
|
This function converts variant data types to float from short. |
|
This function converts variant data types to float from long. |
|
This function converts variant data types to float from double. |
|
This function converts variant data types to float from OLECHAR. |
|
This function converts variant data types to float from BYTE. |
|
This function converts variant data types to double from BOOL. |
|
This function converts variant data types to double from CURRENCY. |
|
This function converts variant data types to double from DATE. |
|
This function converts variant data types to double from DECIMAL. |
|
This function converts variant data types to double from IDispatch. |
|
This function converts variant data types to double from short. |
|
This function converts variant data types to double from long. |
|
This function converts variant data types to double from float. |
|
This function converts variant data types to double from OLECHAR. |
|
This function converts variant data types to double from unsigned char. |
|
This function converts a time and date converted from variant format to MS-DOS format. |
|
This function converts variant data types to BYTE from BOOL. |
|
This function converts variant data types to BYTE from CURRENCY. |
|
This function converts variant data types to BYTE from DATE. |
|
This function converts variant data types to BYTE from DECIMAL. |
|
This function converts variant data types to BYTE from IDispatch. |
|
This function converts variant data types to BYTE from short. |
|
This function converts variant data types to BYTE from long. |
|
This function converts variant data types to BYTE from float. |
|
This function converts variant data types to BYTE from double. |
|
This function converts variant data types to BYTE from BSTR. |
|
This function returns a vector, assigning each character in the BSTR to an element of the vector. |