_CollapseWindow() private method

private _CollapseWindow ( IntPtr windowRef, bool collapse ) : OSStatus
windowRef System.IntPtr
collapse bool
return OSStatus
Ejemplo n.º 1
0
        internal static void CollapseWindow(IntPtr windowRef, bool collapse)
        {
            OSStatus errorCode = API._CollapseWindow(windowRef, collapse);

            if (errorCode != OSStatus.NoError)
            {
                throw new MacOSException(errorCode);
            }
        }