COM Library
|
The ServerRegInfo class declaration. More...
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... | |
Namespaces | |
namespace | COM |
The COM Library namespace. | |
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() |
The ServerRegInfo class declaration.
#define DEFINE_REGISTRATION_TABLE | ( | libname, | |
libuuid, | |||
major, | |||
minor | |||
) |
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 | ( | ) |
{ NULL, NULL, NULL, static_cast<COM::ThreadingModel>(0) } \ }; \ return aoClasses; \ }