![]() The TKIND_DISPATCH type description describes the interface as a standard dispatch interface. The TKIND_INTERFACE type description describes the interface as a standard Component Object Model (COM) interface. All members of the dispinterface should have different IDs, except for the accessor functions of properties.ĭual interfaces (dual) have two different type descriptions for the same interface. These include objects (TypeKind = TKIND_DISPATCH) that support the IDispatch() interface with a specification of the dispatch data members (such as properties) and methods supported through the object's Invoke implementation. For property functions having the same name, the documentation string and Help context should be set for only one of the functions (because they define the same property conceptually). With interfaces and dispinterfaces, all members should have different names, except the accessor functions of properties. It may inherit from no more than one other interface. The type information fully describes the member functions in the VTBL, including parameter names and types and function return types. If a type description contains any virtual functions, then the pointer to the VTBL is the first 4 bytes of the instance. ![]() ![]() An interface is a set of pure virtual functions and an empty set of data members. An interface definition has TypeKind = TKIND_INTERFACE.
0 Comments
Leave a Reply. |