www.Tsachi.net
HMODULE GetCurrentModule()
{
MEMORY_BASIC_INFORMATION mbi; static int dummy; VirtualQuery( &dummy, &mbi, sizeof(mbi) ); return reinterpret_cast<HMODULE>(mbi.AllocationBase);
MEMORY_BASIC_INFORMATION mbi;
VirtualQuery( &dummy, &mbi, sizeof(mbi) );
return reinterpret_cast<HMODULE>(mbi.AllocationBase);
}
Tags: module, current, handle
C/C++
Powered by BlogEngine.NET 1.6.0.0 Theme by Mads Kristensen