IsWindow Reference in C#, VB.NET and VB6
Visual Basic 6 definition
Visual Basic 6 example source code
Declare Function IsWindow Lib "user32.dll" (ByVal hWnd As Long) As Long
Visual Basic .NET definition
Declare Function IsWindow Lib "user32" (ByVal hwnd As Integer) As Integer
public static extern int IsWindow(int hwnd)
IsWindow determines if a given handle refers to a window or not. The function verifies that the handle in fact refers to a window, instead of one of the many other objects which handles can represent.
If the handle does not refer to a window, the function returns 0. If the handle does refer to a window, the function returns a non-zero value.
For further information on Windows API functions such as these, and how to use these API's in your
C# and VB.NET applications, please refer to the book 'Network programming in .NET' (Buy at Amazon UK)
(Buy at Amazon US)
Visual Basic .NET example source code
Provide a code example
Copyright 2017 Infinite Loop Ltd.