Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!oliveb!amiga!mitsumi!jimm From: jimm@mitsumi.UUCP (Jim Mackraz) Newsgroups: comp.sys.amiga Subject: Re: locating ConUnits Message-ID: <279@mitsumi.UUCP> Date: Tue, 22-Sep-87 15:39:31 EDT Article-I.D.: mitsumi.279 Posted: Tue Sep 22 15:39:31 1987 Date-Received: Fri, 25-Sep-87 01:41:37 EDT References: <595@applix.UUCP> <596@applix.UUCP> <2377@cbmvax.UUCP> Reply-To: jimm@mitsumi.UUCP (James Mackraz) Organization: Mitsumi Technology Inc Lines: 22 In article (Carolyn Scheppner CATS) writes: >In article (Scott Evernden) writes: >>I need to be able to locate all open ConUnits in the system. > I believe this will only find the console.devices opened by the DOS >handler processes CON and RAW. This will not find console.devices opened >directly and attached to Intuition windows. Offhand, I don't see any way >for you to find all of those. >Carolyn Scheppner Why not commit to the structure of ConsoleBase and release it, ala GfxBase and (parts of) IntuitionBase? Or commit only to the location of the head of the ConUnits list and release something like: struct DummyConBase { UBYTE dcb_Reserved[ MAGIC_INTEGER ]; ConUnit *dcb_FirstConUnit; }; jimm -- Jim Mackraz Mitsumi Technology, Inc. 408/980-5422 {amiga,pyramid}!mitsumi!jimm