Consider the following scenario:
- You run an application that uses the SC_CLOSE command to control the function of the Close button on the title bar on a computer that is running Windows 8 or Windows Server 2012.
- You disable or remove the SC_CLOSE command in the System menu, and then restore the SC_CLOSE command to the System menu.
- You try to close the application.