diff --git a/Windows/Window.vb b/Windows/Window.vb index 5fd51897..e8f5f1fa 100644 --- a/Windows/Window.vb +++ b/Windows/Window.vb @@ -57,15 +57,11 @@ Public Class Window ''' Public Function GetWindowInfo(ByVal hWnd As IntPtr) As WindowInfo Try - _Logger.Debug("Getting Window Info") - Dim oPID As Integer = 0 Dim oTitleLength As Int32 = NativeMethods.GetWindowTextLength(hWnd) Dim oWindowTitle As String = StrDup(oTitleLength + 1, "*") Dim oClassBuilder As New StringBuilder(64) - _Logger.Debug("Getting Window Text and PID") - NativeMethods.GetWindowText(hWnd, oWindowTitle, oTitleLength + 1) NativeMethods.GetWindowThreadProcessId(hWnd, oPID) @@ -79,8 +75,6 @@ Public Class Window Return Nothing End If - _Logger.Debug("Getting Class Name") - NativeMethods.GetClassName(hWnd, oClassBuilder, 64) Return New WindowInfo With {