cpp-docs/docs/cpp/com-ptr-t-getinterfaceptr.md at master · MyYellowBlanket/cpp-docs · GitHub
Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 994 Bytes

File metadata and controls

39 lines (32 loc) · 994 Bytes
Error in user YAML: (<unknown>): did not find expected ',' or ']' while parsing a flow sequence at line 11 column 22
---
title: "_com_ptr_t::GetInterfacePtr | Microsoft Docs"
ms.custom: ""
ms.date: "11/04/2016"
ms.reviewer: ""
ms.suite: ""
ms.technology: ["cpp-language"]
ms.tgt_pltfrm: ""
ms.topic: "language-reference"
f1_keywords: []
dev_langs: ["C++"]
helpviewer_keywords: ["[""GetInterfacePtr method [C++]""]"]
ms.assetid: 55e3e2c7-c939-48b5-a905-4b9cbefeea7e
caps.latest.revision: 6
author: "mikeblome"
ms.author: "mblome"
manager: "ghogen"
translation.priority.ht: ["cs-cz", "de-de", "es-es", "fr-fr", "it-it", "ja-jp", "ko-kr", "pl-pl", "pt-br", "ru-ru", "tr-tr", "zh-cn", "zh-tw"]
---

_com_ptr_t::GetInterfacePtr

Microsoft Specific

Returns the encapsulated interface pointer.

Syntax

  
      Interface* GetInterfacePtr( ) const throw( );   
Interface*& GetInterfacePtr() throw();  

Remarks

Returns the encapsulated interface pointer, which may be NULL.

END Microsoft Specific

See Also

_com_ptr_t Class