次の方法で共有


COM_INTERFACE_ENTRY_AGGREGATE_BLIND

 

Same as COM_INTERFACE_ENTRY_AGGREGATE, except that querying for any IID results in forwarding the query to punk.

Syntax

COM_INTERFACE_ENTRY_AGGREGATE_BLIND( 
punk
 )

Parameters

  • punk
    [in] The name of an IUnknown pointer.

Remarks

If the interface query fails, processing of the COM map continues.

See COM_INTERFACE_ENTRY Macros for remarks about COM map entries.

Example

BEGIN_COM_MAP(COuter2)
   COM_INTERFACE_ENTRY_AGGREGATE_BLIND(m_punkAggBlind)
END_COM_MAP()

Requirements

Header: atlcom.h

See Also

COM Map Macros
ATL Macros