GetModuleBase Function
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at GetModuleBase Function.
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
Show: