From - Mon Sep 29 08:25:25 1997 Path: news.mitre.org!blanket.mitre.org!agate!newsgate.duke.edu!nntprelay.mathworks.com!newsfeed.internetmci.com!207.14.113.2!news.alt.net!usenet From: tony@ercolano.com (Anthony V. Ercolano) Newsgroups: comp.os.ms-windows.programmer.nt.kernel-mode Subject: Re: Polling a device Date: Fri, 26 Sep 1997 23:36:45 GMT Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Lines: 12 Message-ID: <344f4699.2024489437@news.alt.net> References: <01bcc9eb$8fb5dfd0$14903ea2@tallt> Reply-To: tony@ercolano.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.5/32.451 The IO system supports calling a function every second for a driver. Look up the documentation on IoInitializeTimer. "Scott Tracy" wrote: >I need a routine to poll a device about every second to see if a lengthy >routine has been finished. I don't want to bog the system down too much. >The only literature I've read speaks about handling this in a private >driver thread. Does anyone out there have some sample code to accomplish >this??