ServerRegInfo.hpp File Reference

The ServerRegInfo class declaration. More...


Namespaces

namespace  COM

Classes

class  COM::ServerRegInfo
 The data class used to store the library registry details. More...
struct  COM::ClassRegInfo
 The data class used to store the coclass registry details. More...

Defines

#define DEFINE_REGISTRATION_TABLE(libname, libuuid, major, minor)
#define DEFINE_CLASS_REG_INFO(clsid, name, version, model)   { &clsid, name, version, model },
#define END_REGISTRATION_TABLE()


Detailed Description

The ServerRegInfo class declaration.

Author:
Chris Oldwood

Define Documentation

#define DEFINE_REGISTRATION_TABLE ( libname,
libuuid,
major,
minor   ) 

Value:

virtual void GetServerRegInfo(COM::ServerRegInfo& oInfo) const      \
        {                                                                   \
            oInfo.m_strLibrary = libname;                                   \
            oInfo.m_oLIBID     = libuuid;                                   \
            oInfo.m_nMajor     = major;                                     \
            oInfo.m_nMinor     = minor;                                     \
        }                                                                   \
        virtual const COM::ClassRegInfo* GetClassRegInfo() const            \
        {                                                                   \
            static COM::ClassRegInfo aoClasses[] =                          \
            {

#define DEFINE_CLASS_REG_INFO ( clsid,
name,
version,
model   )     { &clsid, name, version, model },

 
#define END_REGISTRATION_TABLE (  ) 

Value:

{ NULL, NULL, NULL, static_cast<COM::ThreadingModel>(0) }   \
            };                                                              \
            return aoClasses;                                               \
        }


Generated on Wed Feb 13 22:53:38 2008 for COM Library by  doxygen 1.5.2