On Wed Nov 16 15:16:49 2022 +0000, Jacek Caban wrote:
`Wow64AllocateTemp` is not really right here, it will be freed by the first syscall from the callback (and yes, we already have this problem, that's on my TODO list to fix). You could just use HeapAlloc or maybe store the function as UINT64 in the first place and just pass the input buffer to callback here.
Actually, nevermind `Wow64AllocateTemp` part (but using unifying layout between architectures is worth considering, we need that for the rest of driver callback data anyway).