Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 1069 of file nonclient.c.
Referenced by AdjustWindowRectEx(), and ResetUserApiHook().
{ SIZE BorderSize; if (bMenu) { lpRect->top -= GetSystemMetrics(SM_CYMENU); } if ((dwStyle & WS_CAPTION) == WS_CAPTION) { if (dwExStyle & WS_EX_TOOLWINDOW) lpRect->top -= GetSystemMetrics(SM_CYSMCAPTION); else lpRect->top -= GetSystemMetrics(SM_CYCAPTION); } UserGetWindowBorders(dwStyle, dwExStyle, &BorderSize, TRUE); InflateRect( lpRect, BorderSize.cx, BorderSize.cy); return TRUE; }