18 lines
455 B
VB.net
18 lines
455 B
VB.net
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
|