DECLARE INTERFACE MAP #define DECLARE INTERFACE MAPO\ privat static const AFX INTERFACEMAP ENTRY interface Entries; I otected: l static AFX DATA const AFX INTERFACEMAP interface Map; I static const AFX INTERFACEMAP* PASCAL GetBaselnterface MapO; I virtual const AFX INTERFACEMAP* GetInterfaceMap( const; I struct AFX INTERFACEMAP ENTRY struct AFX INTERFACEMAP const void*piid; #ifdef aFXdll size t oFfset; const AFX INTERFACEMAP*(PASCAL pfn GetBaseMap)o #else const AFX INTERFACEMAP" pBase Map #endif const AFX INTERFACEMAP ENTRY* pEntryDECLARE_INTERFACE_MAP #define DECLARE_INTERFACE_MAP() \ private: \ static const AFX_INTERFACEMAP_ENTRY _interfaceEntries[]; \ protected: \ static AFX_DATA const AFX_INTERFACEMAP interfaceMap; \ static const AFX_INTERFACEMAP* PASCAL _GetBaseInterfaceMap(); \ virtual const AFX_INTERFACEMAP* GetInterfaceMap() const; \ struct AFX_INTERFACEMAP_ENTRY { const void* piid; size_t nOffset; }; struct AFX_INTERFACEMAP { #ifdef _AFXDLL const AFX_INTERFACEMAP* (PASCA L pfnGetBaseMap)(); #else const AFX_INTERFACEMAP* pBaseMap; #endif const AFX_INTERFACEMAP_ENTRY* pEntry; };