3,245
社区成员
发帖
与我相关
我的任务
分享
// the functions in this class don't need to be virtual because
// they are called from CComObject
class CComObjectRootBase
{
public:
CComObjectRootBase()
{
m_dwRef = 0L;
}
HRESULT FinalConstruct()
{
return S_OK;
}
......
union
{
long m_dwRef;
IUnknown* m_pOuterUnknown;
};