# GetCursorPos

```csharp
[DllImport("coredll.dll", SetLastError = true)]
public static extern bool GetCursorPos(
   ref POINT lpPoint
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getcursorpos)
