Article View: borland.public.cppbuilder.nativeapi
Article #290Re: I don't get DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE
From: Leo Havmøller
Date: Thu, 29 May 2008 04:16
Date: Thu, 29 May 2008 04:16
17 lines
1725 bytes
1725 bytes
> <plug ATEN USB to serial device in> > WM_DEVICECHANGE, WParam = 537, LParam = 7 > WM_DEVICECHANGE, WParam = 537, LParam = 32768 > WM_DEVICECHANGE, WParam = 537, LParam = 7 > > <unplug ATEN USB to serial device> > WM_DEVICECHANGE, WParam = 537, LParam = 7 > WM_DEVICECHANGE, WParam = 537, LParam = 32772 wParam and lParam are swapped in your output. Also please print in hex instead of decimal. wParam=0x7=DBT_DEVNODES_CHANGED wParam=0x8000=DBT_DEVICEARRIVAL wParam=0x8004=DBT_DEVICEREMOVECOMPLETE Leo Havm�ller.
Technical Details
Message-ID:
<483e2e33@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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 From: Leo Havmøller <rtxleh@nospam.nospam> Newsgroups: borland.public.cppbuilder.nativeapi References: <483a0f9d$1@newsgroups.borland.com> <483b1656@newsgroups.borland.com> <483b37ab$1@newsgroups.borland.com> In-Reply-To: <483b37ab$1@newsgroups.borland.com> Subject: Re: I don't get DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE Date: Thu, 29 May 2008 06:16:52 +0200 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 NNTP-Posting-Host: 87.54.11.130 Message-ID: <483e2e33@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1212034611 87.54.11.130 (28 May 2008 21:16:51 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail