Export (0) Print
Expand All
ATL
Expand Minimize
This topic has not yet been rated - Rate this topic

BEGIN_SERVICE_MAP 

Marks the beginning of the service map.


BEGIN_SERVICE_MAP( theClass )

Parameters

theClass

[in] Specifies the class containing the service map.

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:

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( )
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.