Condividi tramite


CComPtr::CComPtr

The constructor.

CComPtr( ) throw ( ); 
CComPtr( 
   T* lp  
) throw ( ); 
CComPtr ( 
   const CComPtr< T >& lp  
) throw ( );

Parameters

  • lp
    Used to initialize the interface pointer.

  • T
    A COM interface.

Requirements

Header: atlcomcli.h

See Also

Reference

CComPtr Class