private _CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : |
||
nLeftRect | int | |
nTopRect | int | |
nRightRect | int | |
nBottomRect | int | |
Результат |
public static IntPtr CreateRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect) { IntPtr intPtr = NativeMethods._CreateRectRgn(nLeftRect, nTopRect, nRightRect, nBottomRect); if (IntPtr.Zero == intPtr) { throw new Win32Exception(); } return(intPtr); }