| title |
_com_ptr_t::AddRef | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
language-reference |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
AddRef method [C++], interface pointers |
|
| ms.assetid |
c104dac3-aad3-40bb-a298-75c6cd0e63a2 |
| caps.latest.revision |
6 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
Microsoft Specific
Calls the AddRef member function of IUnknown on the encapsulated interface pointer.
Remarks
Calls IUnknown::AddRef on the encapsulated interface pointer, raising an E_POINTER error if the pointer is NULL.
END Microsoft Specific
_com_ptr_t Class