Win32 and COM Development
File Management Functions
FindFirstFile
FindNextFile
FindClose
Listing the Files in a Directory
WIN32_FIND_DATA
CreateFile
Creating and Opening Files
Directory Management Functions
FindFirstChangeNotification
FindNextChangeNotification
FindCloseChangeNotification
範例:Obtaining Directory Change Notifications
ReadDirectoryChangesW - 適用Window NT,2000,XP,2003以上的版本
FILE_NOTIFY_INFORMATION
Synchronization Functions
Wait Functions
SignalObjectAndWait
WaitForSingleObject
About Processes and Threads
Terminating a Thread
Terminating a Process
Win32 Programming Notes 1
Win32 Programming Notes 2
監控目錄是否新增檔案範例:
VB6 directory watcher with ReadDirectoryChangesW in async mode
目录监视程序
网站实时监控系统的设计与实现
VC知识库文章 - 目录监测
參考書籍:
清华大学出版社
沒有留言:
張貼留言