🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3433

Re: Detecting media insertion/removal

#3433
From: poojo hackma
Date: Tue, 27 Jun 2006 21:36
4 lines
1255 bytes
Just a thought:  Maybe you could store a list of devices that are on the 
system, then whenever you receive a WM_DEVICECHANGE message, look to see 
what is not already in your list (inserts) or what in your list is no longer 
available (removed). 
Technical Details
Message-ID: <44a1a4e8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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
References: <44a17fbc$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: "poojo hackma" <poojo.com/mail>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44a17fbc$1@newsgroups.borland.com>
Subject: Re: Detecting media insertion/removal
Date: Tue, 27 Jun 2006 16:36:47 -0500
Lines: 6
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-Antivirus: avast! (VPS 0626-1, 06/27/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 12.45.133.147
Message-ID: <44a1a4e8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151444200 12.45.133.147 (27 Jun 2006 14:36:40 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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