Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
template<typename I>
template<typename Q >
P6R::P6ERR P6R::p6ComPtrBase< I >::queryInterface ( const P6R::P6IID riid,
Q **  ppIface 
)
inline

A type safe version of queryInterface().

This is preferred to calling the underlying interfaces queryInterface() method because type safety is added to the second parameter which for p6ICom::queryInterface() is a typeless void**.

Parameters
riid[ in ] The interface ID of the interface you are requesting.
ppIface[ out ] The address of a variable which on success will receive the new interface pointer, and on failure will receive NULL.
Returns

Definition at line 216 of file p6comptr.h.