网站首页  词典首页

请输入您要查询的函数:

 

术语 waitforntmsnotification
释义 WaitForNtmsNotification
语法:
C++
DWORD WaitForNtmsNotification(
__in HANDLE hNotification,
__out LPNTMS_NOTIFICATIONINFORMATION lpNotificationInformation,
__in DWORD dwTimeout
);
WaitForNtmsNotification功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该WaitForNtmsNotification函数等待下一个对象更改通知。
参数
hNotification [in]
通知处理返回的OpenNtmsNotification功能。
lpNotificationInformation [out]
指针的NTMS_NOTIFICATIONINFORMATION结构,收到通知的信息。
dwTimeout [in]
最大的毫秒数等。如果您指定一个无限的价值,这个功能不会超时。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_DATABASE_FAILUREThe数据库查询或更新失败。
ERROR_INVALID_HANDLEThe价值hNotification参数指定为NULL或无效。
ERROR_NO_DATANotification管失败。尝试建立再通知。
ERROR_NOT_CONNECTEDUnable连接到RSM服务。
ERROR_TIMEOUTThe超时事件过期。
ERROR_SUCCESSThe功能已成功执行。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
数据库通知功能
CloseNtmsNotification
NTMS_NOTIFICATIONINFORMATION
OpenNtmsNotification
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==WaitForNtmsNotification Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The WaitForNtmsNotification function waits for the next object change notification.
Syntax
C++
DWORD WaitForNtmsNotification(
__in HANDLE hNotification,
__out LPNTMS_NOTIFICATIONINFORMATION lpNotificationInformation,
__in DWORD dwTimeout
);
Parameters
hNotification [in]
Notification handle returned by the OpenNtmsNotification function.
lpNotificationInformation [out]
Pointer to an NTMS_NOTIFICATIONINFORMATION structure that receives the notification information.
dwTimeout [in]
Maximum number of milliseconds to wait. If you specify a value of INFINITE, this function will not time-out.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_DATABASE_FAILUREThe database query or update failed.
ERROR_INVALID_HANDLEThe value specified in the hNotification parameter is NULL or is not valid.
ERROR_NO_DATANotification pipe failed. Attempt to set up notification again.
ERROR_NOT_CONNECTEDUnable to connect to the RSM service.
ERROR_TIMEOUTThe time-out event expired.
ERROR_SUCCESSThe function was successfully executed.

Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
End of client supportWindows Vista
End of server supportWindows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
See Also
Database Notification Functions
CloseNtmsNotification
NTMS_NOTIFICATIONINFORMATION
OpenNtmsNotification
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb540753(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 13:17:48