From: Fraser Date: Fri, 21 Feb 2014 00:01:27 +0000 (+0000) Subject: GetCursor function. X-Git-Tag: 2.0-0~172^2~1^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fb7a2d5c2070638f8b02d652e7ed1d75e1942e0;p=platform%2Fcore%2Fcsapi%2Fopentk.git GetCursor function. --- diff --git a/Source/OpenTK/Platform/Windows/API.cs b/Source/OpenTK/Platform/Windows/API.cs index fc4a3a1..5ab400b 100644 --- a/Source/OpenTK/Platform/Windows/API.cs +++ b/Source/OpenTK/Platform/Windows/API.cs @@ -1138,6 +1138,16 @@ namespace OpenTK.Platform.Windows [DllImport("user32.dll")] public static extern HCURSOR SetCursor(HCURSOR hCursor); + /// + /// Retrieves a handle to the current cursor. + /// + /// + /// The return value is the handle to the current cursor. If there is + /// no cursor, the return value is null. + /// + [DllImport("user32.dll")] + public static extern HCURSOR GetCursor(); + #region Async input #region GetCursorPos