Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.18 KB

File metadata and controls

41 lines (29 loc) · 1.18 KB
title GetModuleBase Function | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-windows
ms.topic reference
f1_keywords
implements/Microsoft::WRL::GetModuleBase
dev_langs
C++
ms.assetid 123d3b14-2eaf-4e02-8dcd-b6567917c6a6
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

GetModuleBase Function

Retrieves a ModuleBase pointer that allows for incrementing and decrementing the reference count of a RuntimeClass object.

Syntax

inline Details::ModuleBase* GetModuleBase() throw()  

Return Value

A pointer to a ModuleBase object.

Remarks

This function is used internally to increment and decrement object reference counts.

You can use this function to control reference counts by calling ModuleBase::IncrementObjectCount and ModuleBase::DecrementObjectCount.

Requirements

Header: implements.h

Namespace: Microsoft::WRL

See Also

Microsoft::WRL Namespace