Article View: borland.public.cppbuilder.nativeapi
Article #3359Re: Detecting media insertion/removal
From: Mike Wynne
Date: Thu, 29 Jun 2006 19:23
Date: Thu, 29 Jun 2006 19:23
17 lines
1883 bytes
1883 bytes
"Bob Gonder" wrote... > "it's also possible to register for pnp events as a service, and > receive SERVICE_CONTROL_DEVICEEVENT service controls to your > services's HandlerEx routine" This is what I'm trying next... > I also wonder if the device driver fails to report the media changes? If I format one of the cards to FAT, then remove and reinsert the card, explorer automatically opens a window to the card. Surely Explorer is registering for some event or other? (Unless it just polls all connected drives several times a second) Thanks for the input, MikeW
Technical Details
Message-ID:
<44a428cc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!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> <44a2f062$1@newsgroups.borland.com> <44a2f16a$1@newsgroups.borland.com> <44a3082c@newsgroups.borland.com> <9618a298a2ggr91ghjfiv1b97v2fidm2ur@4ax.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: "Mike Wynne" <mikeywyn@hotmail.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> <44a2f062$1@newsgroups.borland.com> <44a2f16a$1@newsgroups.borland.com> <44a3082c@newsgroups.borland.com> <9618a298a2ggr91ghjfiv1b97v2fidm2ur@4ax.com> Subject: Re: Detecting media insertion/removal Date: Thu, 29 Jun 2006 20:23:58 +0100 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 62.188.49.47 Message-ID: <44a428cc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1151609036 62.188.49.47 (29 Jun 2006 12:23:56 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail