I wrote a piece of code with madHook to capture some system functions (for example: GetSaveFileNameW). But the call result of HookAPI is not true or false, but - 1. What's the matter? In addition, even if - 1 is returned, the capture is still normal, but it does not take effect immediately. It needs to wait more than ten seconds. Does anyone know why?