Article View: borland.public.cppbuilder.nativeapi
Article #284Re: I don't get DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE
From: Hans Galema
Date: Wed, 28 May 2008 13:58
Date: Wed, 28 May 2008 13:58
12 lines
1469 bytes
1469 bytes
Peter Stefanos wrote: > <plug my USB to serial device in> > WM_DEVICECHANGE, WParam = 537, LParam = 7 > WM_DEVICECHANGE, WParam = 537, LParam = 7 > > <unplug my USB to serial device> > WM_DEVICECHANGE, WParam = 537, LParam = 7 So that is difficult to distinguish between plug and unplug. I'm sorry that I can't help you.
Technical Details
Message-ID:
<483d65f8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<483a0f9d$1@newsgroups.borland.com> <483b1656@newsgroups.borland.com> <483b37ab$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1115be856d123060 X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 28 May 2008 15:58:50 +0200 From: Hans Galema <notusedagain@notusedagain.nl> User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: I don't get DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE References: <483a0f9d$1@newsgroups.borland.com> <483b1656@newsgroups.borland.com> <483b37ab$1@newsgroups.borland.com> In-Reply-To: <483b37ab$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <483d65f8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1211983352 145.98.201.248 (28 May 2008 07:02:32 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail X-Original-Bytes: 1275