🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9729

Re: disable network card

#9729
From: Andrue Cope [TeamB]
Date: Mon, 21 Jun 2004 14:55
18 lines
1613 bytes
Vladimir Afanasyev wrote:

> May be it is subject for Part 4 in codeproject...

That is very interesting stuff, Vladimir. Do you by any chance know how
we can interate through all the available block devices on a system? We
have tried simply calling the IOCTL functions to get media type on
every device in the list but this more often than not causes a lockup.

By block device I mean things like GUID_DEVINTERFACE_FLOPPY,
GUID_DEVINTERFACE_CDROM. One thing that puzzles us is that
GUID_DEVINTERFACE_FLOPPY doesn't refer to the built in floppy drives on
our Dell machines.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <40d6f6dd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40d1fde3@newsgroups.borland.com> <40d30f5f@newsgroups.borland.com> <40d31316$2@newsgroups.borland.com> <40d6f515$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6a66ad479e448f8
X-Google-Attributes: gid10cc67,public
From: "Andrue Cope [TeamB]" <no.spam@spammy.com>
Subject: Re: disable network card
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40d1fde3@newsgroups.borland.com> <40d30f5f@newsgroups.borland.com> <40d31316$2@newsgroups.borland.com> <40d6f515$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <40d6f6dd$1@newsgroups.borland.com>
Date: 21 Jun 2004 07:55:25 -0700
X-Trace: newsgroups.borland.com 1087829725 217.207.223.34 (21 Jun 2004 07:55:25 -0700)
Lines: 18
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail