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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for