diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-02-12 23:02:39 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-02-12 23:02:39 +0100 |
| commit | 6d6de880eb9faabbc83ff31b62dd91e5bb4a490b (patch) | |
| tree | d2c5caa2c1b5cc8b169cce9972d9dae2b8c5cb08 /src/include/callback.h | |
| parent | a65bf79ad94babab7f132ed6b8674f9f490bc4a0 (diff) | |
| download | box64-6d6de880eb9faabbc83ff31b62dd91e5bb4a490b.tar.gz box64-6d6de880eb9faabbc83ff31b62dd91e5bb4a490b.zip | |
Also needed a RunFunctionWindows, following the Windows Calling Convention (and now d3datapter9 works)
Diffstat (limited to 'src/include/callback.h')
| -rwxr-xr-x | src/include/callback.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/callback.h b/src/include/callback.h index dae26f1e..eecbc3d2 100755 --- a/src/include/callback.h +++ b/src/include/callback.h @@ -10,5 +10,8 @@ uint64_t RunFunction(box64context_t *context, uintptr_t fnc, int nargs, ...); uint64_t RunSafeFunction(box64context_t *context, uintptr_t fnc, int nargs, ...); // use emu state to run function uint64_t RunFunctionWithEmu(x64emu_t *emu, int QuitOnLongJumpExit, uintptr_t fnc, int nargs, ...); +// using the Windows x64 calling convention +uint64_t RunFunctionWindows(box64context_t *context, uintptr_t fnc, int nargs, ...); + #endif //__CALLBACK_H__ \ No newline at end of file |