Desktop Functions: Smart Device Functions:
|
GetWindowInfo (user32)
C# Signature:
[return: MarshalAs(UnmanagedType.Bool)] VB Signature:
Public Declare Auto Function GetWindowInfo Lib "user32" _ VB.Net Signature:
<DllImport("user32.dll",SetLastError:= True)> _ User-Defined Types:Notes:You must assign the cbSize parameter prior to calling GetWindowInfo(). For example: In C#
WINDOWINFO info = new WINDOWINFO(); In VB
Dim instance As Process To get a WINDOWINFO see http://pinvoke.net/default.aspx/Structures.WINDOWINFO Tips & Tricks:Note that the members of the RECT structure should be int, not long. In some other API functions they are long, so this can be confusing. Sample Code:Please add some! Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|