#define VALIDATEIF ( type,
ptr   )     IID_##type, reinterpret_cast<P6R::P6VOID**>(static_cast<type**>(ptr))

Only include this when generating documentation.

Helper macro to compile time type check queryInterface() parameters. This should be used anywhere that interface ID's and interface pointer arguments are used.

if(EOk == pCom->queryInterface(VALIDATEIF(IID_p6IMemPool.&pMemPool));

Definition at line 30 of file p6comhlpr.h.

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