_CreateRectRgn() приватный Метод

private _CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : IntPtr
nLeftRect int
nTopRect int
nRightRect int
nBottomRect int
Результат System.IntPtr
Пример #1
0
        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);
        }