IID_PPV_ARGS_Helper Function


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IID_PPV_ARGS_Helper Function.

Verifies that the type of the specified argument derives from the IUnknown interface.

System_CAPS_ICON_important.jpg Important

This template specialization supports the WRL infrastructure and is not intended to be used directly from your code. Use IID_PPV_ARGS instead.

   typename T  
void** IID_PPV_ARGS_Helper(  
   _Inout_ Microsoft::WRL::Details::ComPtrRef<T> pp  


The type of argument pp.

A doubly-indirect pointer.

Argument pp cast to a pointer-to-a-pointer to void.

A compile-time error is generated if the template parameter T doesn't derive from IUnknown.

Header: client.h

Reference (Windows Runtime Library)