template<typename I>
P6R::P6ERR P6R::p6ComPtrBase< I >::createInstance ( P6R::p6ICom pOuter,
const P6R::CID cid,
const P6R::IID riid 
) [inline]

Create a new component instance and assign the result to this smart pointer.

Any previous interface in the smart pointer will be released.

Parameters:
pOuter [in] A pointer to the aggregate objects p6ICom interface. If NULL, then object is not being created as part of an aggregate.
cid [in] The component ID associated with of code to be used to create the instance.
riid [in] A reference to the interface ID that indicates the interface to be returned.
Returns:

Definition at line 164 of file p6comptr.h.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.