共用方式為


CComTearOffObject::CComTearOffObject

The constructor.

CComTearOffObject( 
   void* pv  
);

Parameters

  • pv
    [in] Pointer that will be converted to a pointer to a CComObject<Owner> object.

Remarks

Increments the owner's reference count by one.

Requirements

Header: atlcom.h

See Also

Reference

CComTearOffObject Class

CComCachedTearOffObject::CComCachedTearOffObject