Partilhar via


CComQIPtr::CComQIPtr

The constructor.

CComQIPtr( ) throw( ); 
CComQIPtr(
   T* lp 
) throw( );
CComQIPtr(
   IUnknown* lp 
) throw( );
CComQIPtr(
   const CComQIPtr< T,
   piid >& lp 
) throw( );

Parameters

  • lp
    Used to initialize the interface pointer.

  • T
    A COM interface.

  • piid
    A pointer to the IID of T.

Requirements

Header: atlcomcli.h

See Also

Reference

CComQIPtr Class

Other Resources

CComQIPtr Members