Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: GS Newsgroups: comp.lang.basic.visual.misc,microsoft.public.vb.general.discussion Subject: Re: Need help with writing drive property: Possible solution Date: Sun, 22 May 2011 18:49:24 -0400 Organization: A noiseless patient Spider Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 22 May 2011 22:45:55 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="UVJBuiIZprDyxzUkJsiwfw"; logging-data="7265"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KTt2fD4HfWAiL7SlN62TP" X-Antivirus-Status: Clean X-Newsreader: MesNews/1.08.03.00-gb X-Antivirus: avast! (VPS 110522-1, 05/22/2011), Outbound message Cancel-Lock: sha1:QlCqniy+YU7899AGy58jGdhnwHQ= X-ICQ: 543516788 Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:188 Mayayana was thinking very hard : > I also took a look at the API calls that Mike mentioned, > as well as GetVolumeInformation, but I don't see anything > there that will distinguish a USB drive. That may be > functionality that's only in the WMI drivers. Yeah, I'm reaching the same conclusion. GetVolumeInformation is where I started looking before Mike posted. I'm sure there's an API that will determine interface type; after all, how does WMI do it if not via APIs? I've also got Brad Martinez's VB Explorer project and thought I'd browse it for APIs that might work. What would also help is a comprehensive list of drive info enums/constants to work with. I can also read Dan Appleman's VB/API guide for answers. -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc