add some more native functions for Highlighter

This commit is contained in:
2022-06-27 20:33:12 +02:00
parent 675dd6594a
commit e7e83b9597
4 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
Imports System.Runtime.InteropServices
Namespace Native
Public Class User32
<DllImport("user32")>
Public Shared Function GetWindowRect(ByVal hWnd As IntPtr, ByRef r As RECT) As Boolean
End Function
<DllImport("user32.dll")>
Public Shared Function ChildWindowFromPointEx(ByVal hWndParent As IntPtr, ByVal pt As POINT, ByVal uFlags As UInteger) As IntPtr
End Function
End Class
End Namespace