SERVICE_ENTRY_CHAIN

SERVICE_ENTRY_CHAIN( punk )

Parameters

punk

A pointer to the IUnknown interface to which to chain.

Remarks

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

Example

BEGIN_SERVICE_MAP(CMyService)
SERVICE_ENTRY(SID_SBindHost)  // This object supports the SBindHost service
SERVICE_ENTRY_CHAIN(m_spClientSite) // Everything else, just ask the container
END_SERVICE_MAP( )

ATL Macros and Global Functions

See Also

SERVICE_ENTRY, BEGIN_SERVICE_MAP, END_SERVICE_MAP