Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
<DllImport("user32.dll")> _
Public Function AdjustWindowRect(<MarshalAs(UnmanagedType.Struct)>ByRef lpRect As RECT, _
<MarshalAs(UnmanagedType.U4)>dwStyle As WindowStyles, _
<MarshalAs(UnmanagedType.Bool)>bMenu As Boolean) As <MarshalAs(UnmanagedType.Bool)> Boolean
Shared Function AdjustWindowRect(ByRef lpRect As RECT, ByVal dwStyle As UInteger, ByVal bMenu As Boolean) As Boolean
End Function
VB Signature:
Public Declare Function AdjustWindowRect Lib "user32" _
(lpRect As RECT, _
ByVal dsStyle As WindowStyles, _
ByVal bMenu As Long) As Long
8/4/2022 12:42:08 AM - timur.kelman+pinvoke@gmail.com-79.193.218.180
The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle.
6/3/2013 5:41:04 PM - dahminator-75.174.65.168
Defines the possible window style flags in Microsoft's API. These flags can be OR'd together to make more complex styles.
8/10/2018 12:00:38 AM - 94.124.0.19
The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle.
6/3/2013 5:41:04 PM - dahminator-75.174.65.168
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
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).