急:如果希望在win9x上使用ReadDirectoryChangesW应该怎么办?

anggogo 2003-01-24 11:49:02
在 nt 上开发,如果希望移植到 9x 的时候仍然可以使用 ReadDirectoryChangesW,应该怎么做呢?

谢谢
...全文
32 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
anggogo 2003-01-24
  • 打赏
  • 举报
回复
不可以有什么 dll 一起包过去后使用吗?
naughtyboy 2003-01-24
  • 打赏
  • 举报
回复
麻烦~~
Windows 95/98/Me根本都不支持的
关注
Drate 2003-01-24
  • 打赏
  • 举报
回复
这个函数只能在NT中使用的,这是WIN32 SDK中的说明:

New - Windows NT]

The ReadDirectoryChangesW function returns information describing the changes occurring within a directory.

BOOL ReadDirectoryChangesW(

HANDLE hDirectory, // handle to the directory to be watched
LPVOID lpBuffer, // pointer to the buffer to receive the read results
DWORD nBufferLength, // length of lpBuffer
BOOL bWatchSubtree, // flag for monitoring directory or directory tree
DWORD dwNotifyFilter, // filter conditions to watch for
LPDWORD lpBytesReturned, // number of bytes returned
LPOVERLAPPED lpOverlapped, // pointer to structure needed for overlapped I/O
LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine // pointer to completion routine
);

1,184

社区成员

发帖
与我相关
我的任务
社区描述
Delphi Windows SDK/API
社区管理员
  • Windows SDK/API社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧