Re: WaitForSingleObject on a file handle?
- From: "Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp>
- Date: Sun, 11 Dec 2005 09:59:14 -0500
HTTBird wrote:
On Windows XP SP2 and/or Windows Server 2K3, is it possible to use WaitForSingleObject on a file handle to wait for a file change?
Use ReadDirectoryChangesW in overlapped mode. WaitForSingleObject can wait on the event in the OVERLAPPED struct.
-- Scott McPhillips [VC++ MVP]
.
- Follow-Ups:
- Re: WaitForSingleObject on a file handle?
- From: Scherbina Vladimir
- Re: WaitForSingleObject on a file handle?
- Prev by Date: Re: Exporting Functions and variables
- Next by Date: Re: WaitForSingleObject on a file handle?
- Previous by thread: Re: WaitForSingleObject on a file handle?
- Next by thread: Re: WaitForSingleObject on a file handle?
- Index(es):