次の方法で共有


COM_INTERFACE_ENTRY2_IID

 

Same as COM_INTERFACE_ENTRY2, except you can specify a different IID.

Syntax

COM_INTERFACE_ENTRY2_IID( 
iid
, 
x
, 
x2
 )

Parameters

  • iid
    [in] The GUID you are specifying for the interface.

  • x
    [in] The name of an interface that your class object derives from directly.

  • x2
    [in] The name of a second interface that your class object derives from directly.

Remarks

See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.

Requirements

Header: atlcom.h

See Also

COM Map Macros
ATL Macros