Article View: borland.public.cppbuilder.nativeapi
Article #3347Re: Detecting media insertion/removal
From: Remy Lebeau (TeamB)
Date: Wed, 28 Jun 2006 21:03
Date: Wed, 28 Jun 2006 21:03
15 lines
1687 bytes
1687 bytes
"Mike Wynne" <mikeywyn@hotmail.com> wrote in message news:44a2cf86$1@newsgroups.borland.com... > NotificationFilter.dbcv_unitmask=0x0f; You said earlier that the reader adds 4 new drive letters to your system. Assuming that you have a C drive for the hard drive, and maybe D for a CD/DVD drive, then the reader would be adding drives E-H. But in your bitmask, you are asking for device events for drives A-D instead. So your reader drives will never report the requested events. You need to adjust your bitmask accordingly. Gambit
Technical Details
Message-ID:
<44a2f062$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!npeer1.de.kpn-eurorings.net!npeer-devel!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44a17fbc$1@newsgroups.borland.com> <44a1a4e8$1@newsgroups.borland.com> <44a1aa53@newsgroups.borland.com> <44a1c9cc$1@newsgroups.borland.com> <44a22030@newsgroups.borland.com> <44a2a037$1@newsgroups.borland.com> <44a2cf86$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e15854a90a45465d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <44a17fbc$1@newsgroups.borland.com> <44a1a4e8$1@newsgroups.borland.com> <44a1aa53@newsgroups.borland.com> <44a1c9cc$1@newsgroups.borland.com> <44a22030@newsgroups.borland.com> <44a2a037$1@newsgroups.borland.com> <44a2cf86$1@newsgroups.borland.com> Subject: Re: Detecting media insertion/removal Date: Wed, 28 Jun 2006 14:03:51 -0700 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44a2f062$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1151529058 68.69.17.41 (28 Jun 2006 14:10:58 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!npeer1.de.kpn-eurorings.net!npeer-devel!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail