ITypeInfo2
A version of this page is also available for
4/8/2010
This interface allows ITypeInfo to cast to an ITypeInfo2 in performance-sensitive cases. An ITypeInfo can be cast to an ITypeInfo2 instead of using the calls IUnknown::QueryInterface and IUnknown::Release. This casting procedure is not compatible with Windows 95 or Microsoft Windows NT® version 3.51.
Methods
The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface. This interface also inherits the methods for the ITypeInfo interface.
Method | Description |
---|---|
This method returns the TYPEKIND enumeration quickly, without doing any allocations. |
|
This method returns the TYPEFLAGS quickly, without doing any allocations. |
|
This method binds to a specific member based on a known dispatch identifier (DISPID). |
|
This method binds to a specific member based on a known dispatch identifier (DISPID). |
|
This method gets the custom data. |
|
This method gets the custom data from the specified function. |
|
This method gets the specified custom data parameter. |
|
This method gets the variable for the custom data. |
|
This method gets the implementation type of the custom data. |
|
This method retrieves the documentation string and other Help-related information. |
|
This method gets all custom data items for the library. |
|
This method gets all of the custom data from the specified function. |
|
This method gets all of the custom data for the specified parameter. |
|
This method gets all of the custom data for the specified variable. |
|
This method gets all of the custom data for the specified implementation type. |
Requirements
Header | oaidl.h, oaidl.idl |
Library | oleaut32.lib, uuid.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
Automation Interfaces
ITypeInfo
IUnknown
IUnknown::QueryInterface
IUnknown::Release
TYPEFLAGS
TYPEKIND