From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c72b93d85d765332 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-10 13:29:03 PST Path: newsfeed.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!feed-out.newsfeeds.com!newsfeeds.com!feed.newsfeeds.com!newsfeeds.com!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3AFACEC7.C2E67357@icn.siemens.de> Subject: Re: Ada and Hardware Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Thu, 10 May 2001 16:22:01 EDT Organization: http://www.newsranger.com Date: Thu, 10 May 2001 20:22:01 GMT Xref: newsfeed.google.com comp.lang.ada:7505 Date: 2001-05-10T20:22:01+00:00 List-Id: In article <3AFACEC7.C2E67357@icn.siemens.de>, Alfred Hilscher says... > >Maybe the Windows API calls "CreateFile" and "DeviceIOControl" will be >what you are looking for ? Look for this excerpt from MS-API .. >"You can use the CreateFile function to open a disk drive or a partition .. >\\.\A: Obtains a handle to drive A on the user's computer. >\\.\C: Obtains a handle to drive C on the user's computer." Interesting. One has to wonder if this would work with the standard Ada IO operations (eg: Ada.Streams.Stream_IO)... --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com