Desktop Functions: Smart Device Functions:
|
ValidateRect (user32)
C# Signature:
[DllImport("user32.dll")] VB .NET Signature:
Public Declare Function ValidateRect Lib "User32" (ByVal hWnd As IntPtr, ByRef lpRect As RECT) As Boolean User-Defined Types:None. Notes:In the Win32 API, it is valid to specify a value of "NULL" to lpRect. I am not sure how or if you can specify null structure references using pInvoke in C#/.NET. Tips & Tricks:You can specify the lpRect param as null if you define your function as you can see bellow:
[DllImport("user32.dll")] 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). |
|