_AdjustWindowRectEx() private method

private _AdjustWindowRectEx ( RECT &lpRect, WS dwStyle, [ bMenu, WS_EX dwExStyle ) : bool
lpRect RECT
dwStyle WS
bMenu [
dwExStyle WS_EX
return bool
Example #1
0
 public static RECT AdjustWindowRectEx(RECT lpRect, WS dwStyle, bool bMenu, WS_EX dwExStyle)
 {
     if (!NativeMethods._AdjustWindowRectEx(ref lpRect, dwStyle, bMenu, dwExStyle))
     {
         HRESULT.ThrowLastError();
     }
     return(lpRect);
 }