Esempio n. 1
0
 [DllImport("user32.dll", EntryPoint = "GetCursorInfo")]private static extern bool GetCursorInfo(ref CURSORINFO cInfo);
Esempio n. 2
0
 private long getMouseStyle()
 {
     CURSORINFO pci = new CURSORINFO();
     pci.cbSize = Marshal.SizeOf(typeof(CURSORINFO)); ;
     bool bl = GetCursorInfo(ref pci);
     return (long)(pci.hCursor);
 }