GetModuleBase Function

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

Microsoft::WRL Namespace

Show: