Options

VB.NET Signature: GetWindowText

VB.NET Signature:
<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)>
Private Shared Function GetWindowText(ByVal hwnd As IntPtr) As Integer
End Function

Comments

  • Options
    VBNetterVBNetter Posts: 2 New member
    Alternate VB.NET GetWindowText

    Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Integer, ByVal lpWindowText As String, ByVal cch As Integer) As Integer
Sign In or Register to comment.