_CreateNewWindow() 개인적인 메소드

private _CreateNewWindow ( WindowClass @class, WindowAttributes attributes, Rect &r, IntPtr &window ) : OSStatus
@class WindowClass
attributes WindowAttributes
r Rect
window System.IntPtr
리턴 OSStatus
예제 #1
0
        internal static IntPtr CreateNewWindow(WindowClass @class, WindowAttributes attributes, Rect r)
        {
            IntPtr   window;
            OSStatus newWindow = API._CreateNewWindow(@class, attributes, ref r, out window);

            if (newWindow != OSStatus.NoError)
            {
                throw new MacOSException(newWindow);
            }
            else
            {
                return(window);
            }
        }