using System.Runtime.InteropServices; [System.Runtime.InteropServices.DllImport( "user32.dll" , EntryPoint="GetCursorPos" )] public extern static int GetCursorPos( ref POINTAPI lpPoint ); public struct POINTAPI 相关文章: