![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cOSModImpl.h>
Public Member Functions | |
cOSModImpl (const char *pszModuleName) noexcept | |
virtual | ~cOSModImpl () |
bool | IsLoaded () const noexcept |
virtual bool | OnProcessAttach () |
virtual void | OnProcessDetach () |
Public Attributes | |
const char * | m_pszModuleName |
Just derive this from the file name ? More... | |
HMODULE | m_hModule |
My HMODULE assigned to me when loaded. should be same as GetModuleHandleForAddr(&g_Module) More... | |
My implementation of a DLL/SO. _WINDLL Must be only one of these in a single link space for DLL/SO. So it is not a true cSingletonStatic. Always static allocated. NEVER heap or Stack allocated. Assume g_Module gets defined for the DLL/SO. On some derived class based on cOSModImpl named g_Module. e.g. cOSModImpl g_Module("ModuleName");
|
noexcept |
|
virtual |
|
inlinenoexcept |
|
virtual |
|
virtual |
HMODULE Gray::cOSModImpl::m_hModule |
My HMODULE assigned to me when loaded. should be same as GetModuleHandleForAddr(&g_Module)
const char* Gray::cOSModImpl::m_pszModuleName |
Just derive this from the file name ?