add some more native functions for Highlighter
This commit is contained in:
17
Pilz.Win32/Native/User32.vb
Normal file
17
Pilz.Win32/Native/User32.vb
Normal 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
|
||||
Reference in New Issue
Block a user