🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #555

Re: Noticing when Shutdown is activated

#555
From: Tom Hughes
Date: Thu, 19 Nov 1992 14:19
26 lines
1771 bytes
In article <BxytAB.8KB@newcastle.ac.uk> unregistered@newcastle.ac.uk (Jason O'Broin) writes:
>Is there anyway of intercepting the RiscOs 3.1 Desktop shutdown mechanism? I need
>to be able to do some processing before this is allowed to continue.
>In addition to this, I need to be able to distinguish between this and Exiting
>the desktop (ie. closing down the desktop is not the same as starting the
>shutdown procedure). Does anyone know the actual operations performed by
>shutdown. Ideally, I'd like to replace it completely.

I believe there is a service call (Service_Shutdown?) which is issued
when a shutdown occurs. I think one of its parameters is a flag to say
whether it is an 'exit' or a 'shutdown'. I suspect that this call is
only issued after the Wimp and OS have done most of their shutdown
processing.

I'll have a look in my PRMs tonight and flesh out the details for you.

Tom.

============================================================================
Tom Hughes, CS3

thughes@uk.ac.warwick.dcs            57 Shakleton Road
csugk@uk.ac.warwick.csv              Earlsdon
                                     Coventry
(0203) 673584                        CV5 6HT
============================================================================
Technical Details
Message-ID: <1992Nov19.141917.634@dcs.warwick.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!thughes
References: <BxytAB.8KB@newcastle.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!thughes
From: thughes@dcs.warwick.ac.uk (Tom Hughes)
Subject: Re: Noticing when Shutdown is activated
Message-ID: <1992Nov19.141917.634@dcs.warwick.ac.uk>
Sender: news@dcs.warwick.ac.uk (Network News)
Nntp-Posting-Host: stone
Organization: Department of Computer Science, Warwick University, England
References: <BxytAB.8KB@newcastle.ac.uk>
Date: Thu, 19 Nov 1992 14:19:17 GMT
Lines: 26