On Fri Nov 18 08:58:19 2022 +0000, eric pouech wrote:
setting last error is only meaningful when you can tell when the function failed (returning a BOOL: FALSE is an error, returning NTSTATUS: anything but STATUS_SUCCESS is an error, ... in this very function, there's no documented way to return an error...) 0 means there's no inline context at this address... but it doesn't tell if the address is actually mapped, if there's a loaded module at this address, if there's a function at this address...
Oh right, that's pretty obvious now that I think about it. Thanks so much for explaining it though.
And thanks again for the review. :)