Home
last modified time | relevance | path

Searched refs:mbi_thunk (Results 1 – 3 of 3) sorted by relevance

/dports/devel/libhoard/Hoard/src/Heap-Layers/wrappers/
H A Dwinwrapper.cpp523 MEMORY_BASIC_INFORMATION mbi_thunk; in PatchIt() local
524 VirtualQuery((void*)patch->original, &mbi_thunk, in PatchIt()
526 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, in PatchIt()
527 PAGE_EXECUTE_READWRITE, &mbi_thunk.Protect); in PatchIt()
539 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, in PatchIt()
540 mbi_thunk.Protect, &mbi_thunk.Protect); in PatchIt()
550 MEMORY_BASIC_INFORMATION mbi_thunk; in UnpatchIt() local
553 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, in UnpatchIt()
554 PAGE_EXECUTE_READWRITE, &mbi_thunk.Protect); in UnpatchIt()
562 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, in UnpatchIt()
[all …]
/dports/textproc/stardict3/stardict-3.0.6/dict/src/win32/
H A DHookImportFunction.c104 MEMORY_BASIC_INFORMATION mbi_thunk; in HookImportFunction() local
107 VirtualQuery(pRealThunk, &mbi_thunk, sizeof(MEMORY_BASIC_INFORMATION)); in HookImportFunction()
108 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, PAGE_READWRITE, &mbi_thunk.Protect); in HookImportFunction()
113 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, mbi_thunk.Protect, &dwOldProtect); in HookImportFunction()
/dports/textproc/goldendict/goldendict-73ec1b5/mouseover_win32/
H A DHookImportFunction.c87 MEMORY_BASIC_INFORMATION mbi_thunk; in HookImportFunction() local
89 …if( VirtualQuery(pRealThunk, &mbi_thunk, sizeof(MEMORY_BASIC_INFORMATION)) != sizeof(MEMORY_BASIC_… in HookImportFunction()
91 …if( !VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, PAGE_READWRITE, &mbi_thunk.Protec… in HookImportFunction()
98 VirtualProtect(mbi_thunk.BaseAddress, mbi_thunk.RegionSize, mbi_thunk.Protect, &dwOldProtect); in HookImportFunction()