c'est juste une variable , en realite c'est la meme chose que HandleActif (handle est plus souvent appellé hwnd (Handle WiNDow) donc => windows_hwnd , d'ailleur ca devrait meme etre window_hwnd , sans S ou meme juste HWND)
ca aurait pu etre :
Private Function GetWindowTitle() As String
Dim HandleActif As IntPtr = GetForegroundWindow()
Dim length As Integer
length = GetWindowTextLength(HandleActif) + 1
If length <= 1 Then
' heu ... y'a pas de titre.
Return "<" & HandleActif & ">"
Else
Dim buf As String = Space$(length)
length = GetWindowText(HandleActif, buf, length)
Return buf.Substring(0, length)
End If
End Function
MsgBox(GetWindowTitle)