Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Marks the beginning of the service map.
BEGIN_SERVICE_MAP( theClass )
Parameters
- theClass
[in] Specifies the class containing the service map.
Remarks
Use the service map to implement service provider functionality on your COM object. First, you must derive your class from IServiceProviderImpl. There are two types of entries:
SERVICE_ENTRY Indicates support for the specified service ID (SID).
SERVICE_ENTRY_CHAIN Instructs IServiceProviderImpl::QueryService to chain to another, specified object.
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()
Requirements
Header: atlcom.h