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