_ChangeWindowAttributes() private method

private _ChangeWindowAttributes ( IntPtr windowRef, WindowAttributes setTheseAttributes, WindowAttributes clearTheseAttributes ) : OSStatus
windowRef System.IntPtr
setTheseAttributes WindowAttributes
clearTheseAttributes WindowAttributes
return OSStatus
Esempio n. 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);
            }
        }