_ChangeWindowAttributes() private méthode

private _ChangeWindowAttributes ( IntPtr windowRef, WindowAttributes setTheseAttributes, WindowAttributes clearTheseAttributes ) : OSStatus
windowRef System.IntPtr
setTheseAttributes WindowAttributes
clearTheseAttributes WindowAttributes
Résultat OSStatus
Exemple #1
0
        internal static void ChangeWindowAttributes(IntPtr windowRef, WindowAttributes setTheseAttributes, WindowAttributes clearTheseAttributes)
        {
            OSStatus errorCode = API._ChangeWindowAttributes(windowRef, setTheseAttributes, clearTheseAttributes);

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