Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 983 Bytes

File metadata and controls

36 lines (23 loc) · 983 Bytes
title GetModuleBase Function
ms.date 11/04/2016
ms.topic reference
f1_keywords
implements/Microsoft::WRL::GetModuleBase
ms.assetid 123d3b14-2eaf-4e02-8dcd-b6567917c6a6

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