Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.16 KB

File metadata and controls

50 lines (36 loc) · 1.16 KB
title IID_PPV_ARGS_Helper Function | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-windows
ms.topic reference
f1_keywords
client/IID_PPV_ARGS_Helper
dev_langs
C++
helpviewer_keywords
IID_PPV_ARGS_Helper function
ms.assetid afee9b23-8df1-4575-903f-e9ba748418f0
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

IID_PPV_ARGS_Helper Function

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

Important

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

Syntax

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

Parameters

T
The type of argument pp.

pp
A doubly-indirect pointer.

Return Value

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

Remarks

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

Requirements

Header: client.h