Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.misc > #1600

Re: How do safe shutdown programmatically?

From Lars Erdmann <lars.erdmann@arcor.de>
Newsgroups comp.os.os2.programmer.misc
Subject Re: How do safe shutdown programmatically?
Date 2017-11-05 15:36 +0100
Organization solani.org
Message-ID <otn7ln$shq$1@solani.org> (permalink)
References <ot4c8i$nic$1@dont-email.me> <otdacn$cf0$1@news.albasani.net> <oti78c$34j$1@dont-email.me> <otmpae$kt2$1@dont-email.me> <otn0ro$9cg$1@dont-email.me>

Show all headers | View raw


Just for the record:

if you want to have PM applications notified on shutdown you need to use 
"WinShutdownSystem" API function. That will also eventually call 
DosShutdown.

Lars


Andi B. schrieb:
> Andi B. schrieb:
>
> Even better -
>  object = WinQueryObject("<WP_DESKTOP>");
>  fSuccess = WinSetObjectData(object,"XSHUTDOWNNOW=POWEROFF,NOCONFIRM;");
>
> Andreas
>

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How do safe shutdown programmatically? "Andi B." <andi.b@gmx.net> - 2017-10-29 12:58 +0100
  Re: How do safe shutdown programmatically? Andreas Schnellbacher <aschn@despammed.com> - 2017-11-01 21:21 +0100
    Re: How do safe shutdown programmatically? "Andi B." <andi.b@gmx.net> - 2017-11-03 17:58 +0100
      Re: How do safe shutdown programmatically? "Andi B." <andi.b@gmx.net> - 2017-11-05 11:31 +0100
        Re: How do safe shutdown programmatically? "Andi B." <andi.b@gmx.net> - 2017-11-05 13:40 +0100
          Re: How do safe shutdown programmatically? Lars Erdmann <lars.erdmann@arcor.de> - 2017-11-05 15:36 +0100
          Re: How do safe shutdown programmatically? Pete <losepete@losepete.plus.com> - 2019-02-06 02:14 +0000

csiph-web