template<typename I>
template<typename Q >
P6R::P6ERR P6R::p6ComPtrBase< I >::queryInterface ( const P6R::IID 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 198 of file p6comptr.h.

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