hooks: return 42 for GetProcessHeap, not 0 (failure)
@@ -145,7 +145,7 @@ class GetProcessHeapHook(viv_utils.emulator_drivers.Hook):
def hook(self, callname, emu, callconv, api, argv):
if callname == "kernel32.GetProcessHeap":
# nop
- callconv.execCallReturn(emu, 0, len(argv))
+ callconv.execCallReturn(emu, 42, len(argv))
return True
raise viv_utils.emulator_drivers.UnsupportedFunction()
