网站首页  词典首页

请输入您要查询的函数:

 

术语 findnextchangenotification
释义 FindNextChangeNotification
语法:
C++
BOOL WINAPI FindNextChangeNotification(
__in HANDLE hChangeHandle
);
FindNextChangeNotification功能
要求作业系统的信号处理更改通知在下一次检测到一个适当的改变。
参数
hChangeHandle [in]
一个句柄,更改通知处理由FindFirstChangeNotification函数创建。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
后FindNextChangeNotification函数返回成功,应用程序可以等待通知,改变了使用等待函数发生。
如果发生了更改后的FindFirstChangeNotification调用但在此之前,以FindNextChangeNotification电话,操作系统记录的变化。当FindNextChangeNotification执行,立即记录的变化,为满足更改通知等。
FindNextChangeNotification不应使用超过一次在同一处理,不使用等待职能之一。应用程序可能会错过了更改通知如果使用FindNextChangeNotification当有更改请求突出。
当hChangeHandle不再需要,关闭使用FindCloseChangeNotification函数。
实例
有关示例,请参见获取目录更改通知。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
目录管理功能
FindCloseChangeNotification
FindFirstChangeNotification
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==FindNextChangeNotification Function
Requests that the operating system signal a change notification handle the next time it detects an appropriate change.
Syntax
C++
BOOL WINAPI FindNextChangeNotification(
__in HANDLE hChangeHandle
);
Parameters
hChangeHandle [in]
A handle to a change notification handle created by the FindFirstChangeNotification function.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
After the FindNextChangeNotification function returns successfully, the application can wait for notification that a change has occurred by using the wait functions .
If a change occurs after a call to FindFirstChangeNotification but before a call to FindNextChangeNotification, the operating system records the change. When FindNextChangeNotification is executed, the recorded change immediately satisfies a wait for the change notification.
FindNextChangeNotification should not be used more than once on the same handle without using one of the wait functions. An application may miss a change notification if it uses FindNextChangeNotification when there is a change request outstanding.
When hChangeHandle is no longer needed, close it by using the FindCloseChangeNotification function.
Examples
For an example, see Obtaining Directory Change Notifications .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Directory Management Functions
FindCloseChangeNotification
FindFirstChangeNotification
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364427(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:27:04