Compartilhar via


CComPolyObject::CComPolyObject

The constructor.

CComPolyObject(
   void* pv 
);

Parameters

  • pv
    [in] A pointer to the outer unknown if the object is to be aggregated, or NULL if the object if the object is not aggregated.

Remarks

Initializes the CComContainedObject data member, m_contained, and increments the module lock count.

The destructor decrements the module lock count.

Requirements

Header: atlcom.h

See Also

Reference

CComPolyObject Class

CComPolyObject::FinalConstruct

CComPolyObject::FinalRelease

Other Resources

CComPolyObject Members