AdjustWindowRect function user32

int AdjustWindowRect(
  1. Pointer<RECT> lpRect,
  2. int dwStyle,
  3. int bMenu
)

Calculates the required size of the window rectangle, based on the desired client-rectangle size. The window rectangle can then be passed to the CreateWindow function to create a window whose client area is the desired size.

BOOL AdjustWindowRect(
  LPRECT lpRect,
  DWORD  dwStyle,
  BOOL   bMenu
);

Implementation

int AdjustWindowRect(Pointer<RECT> lpRect, int dwStyle, int bMenu) =>
    _AdjustWindowRect(lpRect, dwStyle, bMenu);