_CollapseWindow() private méthode

private _CollapseWindow ( IntPtr windowRef, bool collapse ) : OSStatus
windowRef System.IntPtr
collapse bool
Résultat OSStatus
Exemple #1
0
        internal static void CollapseWindow(IntPtr windowRef, bool collapse)
        {
            OSStatus errorCode = API._CollapseWindow(windowRef, collapse);

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