Article View: borland.public.cppbuilder.nativeapi
Article #3668ReadDirectoryChangesW
From: Rod
Date: Tue, 16 May 2006 14:38
Date: Tue, 16 May 2006 14:38
24 lines
1552 bytes
1552 bytes
Hello. Would anyone be able to give me some (short) sample code showing how to use the "ReadDirectoryChangesW" function (in "synchronous" mode.) I want to monitor a single directory. There won't be many changes,in any given day, to the directory being monitored. My main lack of understanding lies with: LPVOID lpBuffer, // pointer to the buffer to receive the read results DWORD nBufferLength, // length of lpBuffer Thanks for any help. Regards, Rod. -- Rod Please note that, due to time differences etc, it might be 24hrs before I get back to this group so please consider yourselves thanked for any help you may be able to provide.
Technical Details
Message-ID:
<btnj629qq4hcqg2rm80fr6mdo9d1uv7ida@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f9b15488efc2a992,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Rod <notat022005@end.of.msg> Newsgroups: borland.public.cppbuilder.nativeapi Subject: ReadDirectoryChangesW Date: Wed, 17 May 2006 00:38:42 +1000 Reply-To: sorrynothere@end.of.message Message-ID: <btnj629qq4hcqg2rm80fr6mdo9d1uv7ida@4ax.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 203.217.84.246 X-Trace: newsgroups.borland.com 1147790152 203.217.84.246 (16 May 2006 07:35:52 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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