Browse Source

* tcursorinfo incorrectly was aliassed to console_cursor_info, which is incorrect for
getcursorinfo in redef.inc. Added cursor_info structs as per MSDN. Mantis 15745

git-svn-id: trunk@14898 -

marco 15 years ago
parent
commit
54b15ba318
1 changed files with 9 additions and 1 deletions
  1. 9 1
      rtl/win/wininc/struct.inc

+ 9 - 1
rtl/win/wininc/struct.inc

@@ -988,7 +988,6 @@ Const
      _CONSOLE_CURSOR_INFO = CONSOLE_CURSOR_INFO;
      TCONSOLECURSORINFO = CONSOLE_CURSOR_INFO;
      PCONSOLECURSORINFO = ^CONSOLE_CURSOR_INFO;
-     TCURSORINFO = CONSOLE_CURSOR_INFO;
 
      COORD = record
           X : SHORT;
@@ -7498,6 +7497,15 @@ type
   PGRADIENT_RECT = ^_GRADIENT_RECT;
   LPGRADIENT_RECT = PGRADIENT_RECT;
 
+  CURSORINFO = record
+    		 cbSize  : DWORD;
+     		 flags   : DWORD;
+    		 hCursor : HCURSOR;
+    	         ptScreenPos : POINT;
+                 end;
+  PCURSORINFO = ^CURSORINFO;
+  TCURSORINFO = CURSORINFO;
+
 const 
   SECURITY_DESCRIPTOR_MIN_LENGTH = SIZEOF(SECURITY_DESCRIPTOR);