End the Function
Call is as follows:
Window handle=WindowFromPointXY (Cursor. Position. X, Cursor. The Position. The Y)
Runtime errors are as follows:
Other information: the PInvoke function "my spy! My_spy. Form1: : WindowFromPointXY "call stack asymmetry, the reason may be managed PInvoke signature and unmanaged target signature does not match, please check the PInvoke signature and unmanaged calling convention and parameters of target signature match,
Please show what was wrong with thanks