Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
template<typename I>
P6R::p6ComPtr< I >::p6ComPtr ( p6ICom pCom,
const P6R::P6IID riid,
P6R::P6ERR pErr = NULL 
)
inline

Construct from the specified interface via queryInterface() This will query the interface passed in pCom for the specified interface ID and initialize the smart pointer with the resulting interface.

Parameters
pCom[ in ] A pointer to an the interface to query.
riid[ in ] A reference to the interface ID to query pCom for.

Definition at line 272 of file p6comptr.h.