devxlogo

Exiting Windows

Exiting Windows

Question:
How can I make my program totally exit Windows? When the user hits “Quit Windows”, I want Windows to exit.

Answer:
Use the ExitWindows API function. The declare statement is in the Windows 3.1 API declaration help file, and the documentation on how to use the function is in the Windows 3.1 SDK help file.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist