共用方式為


SERVICE_ENTRY_CHAIN

 

Instructs IServiceProviderImpl::QueryService to chain to the object specified by punk.

Syntax

      SERVICE_ENTRY_CHAIN( 
   punk  
)

Parameters

  • punk
    A pointer to the IUnknown interface to which to chain.

Example

See the example for BEGIN_SERVICE_MAP.

Requirements

Header: atlcom.h

See Also

Service Map Macros
ATL Macros
SERVICE_ENTRY
BEGIN_SERVICE_MAP
END_SERVICE_MAP