Article View: borland.public.cppbuilder.nativeapi
Article #10261Re: Drive type?
From: Martin Nijhoff
Date: Tue, 11 May 2004 10:26
Date: Tue, 11 May 2004 10:26
15 lines
1358 bytes
1358 bytes
I haven't tried this, but perhaps you can investigate the item ID list of the CD-ROM and DVD-ROM 'folders' and distinguish between the different types that way? For example, the first byte of the ID list (PIDL->mkid.abID[0]) is 0x31 for a normal folder, 0x41 for a workgroup or domain, 0x42 for a network node, 0x47 for the 'Network neighborhood' folder, etc. I don't know if this works in all versions of Windows though... Hope this helps. Regards, Martin Nijhoff
Technical Details
Message-ID:
<40a0aa39$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4061b302$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5f423b6fa1827404 X-Google-Attributes: gid10cc67,public From: "Martin Nijhoff" <dont@mail.me> Newsgroups: borland.public.cppbuilder.nativeapi References: <4061b302$1@newsgroups.borland.com> Subject: Re: Drive type? Date: Tue, 11 May 2004 12:26:34 +0200 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 80.100.129.156 Message-ID: <40a0aa39$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084271161 80.100.129.156 (11 May 2004 03:26:01 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail