| title | GetModuleBase Function | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 11/04/2016 | ||
| ms.technology |
|
||
| ms.topic | reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| ms.assetid | 123d3b14-2eaf-4e02-8dcd-b6567917c6a6 | ||
| author | mikeblome | ||
| ms.author | mblome | ||
| ms.workload |
|
Retrieves a ModuleBase pointer that allows for incrementing and decrementing the reference count of a RuntimeClass object.
inline Details::ModuleBase* GetModuleBase() throw() A pointer to a ModuleBase object.
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.
Header: implements.h
Namespace: Microsoft::WRL