[futurebasic] Re: [FB] Shutdown Manager

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Derek Smith <dereksmi@...>
Date: Sat, 2 Oct 1999 12:40:01 -1000
On Fri, 1 Oct 1999, Brian Heibert wrote:

> I made certain programs in FBII that would use the Shutdown 
> Manager.  It would provide options like Restart,Shutdown,Cancel, etc.
> 
> FB^3 doesn't seem to like:
> 
>  CALL SHUTDWNSTART         &
>  CALL SHUTDWNPOWER

Staz didn't have time for these.  I ported them a while back though.

toolbox ShutDwnPower() `0x3F3C, 0x0001, 0xA895
toolbox ShutDwnStart() `0x3F3C, 0x0002, 0xA895
toolbox ShutDwnInstall(long shutDownProcAddr,short flags) `0x3F3C, 0x0003,
0xA895
toolbox ShutDwnRemove(long shutDownProcAddr) `0x3F3C, 0x0004, 0xA895

Be sure to fix any wrapped lines in the email.

-Derek

(This stuff will for sure be in the next release, along with many others
FB2 never had)