网站首页  词典首页

请输入您要查询的函数:

 

术语 beginntmsdevicechangedetection
释义 BeginNtmsDeviceChangeDetection
语法:
C++
DWORD BeginNtmsDeviceChangeDetection(
__in HANDLE hSession,
__out LPHANDLE lpDetectHandle
);
BeginNtmsDeviceChangeDetection功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该BeginNtmsDeviceChangeDetection函数允许应用程序开始变化检测设备会议。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpDetectHandle [out]
指针变量,它接收设备的变化检测处理。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_INVALID_HANDLEThe的hSession参数的值不是有效的会话句柄。
ERROR_SUCCESSThe操作员请求已被取消。
备注
在调用BeginNtmsDeviceChangeDetection,应用程序可以设置独立的媒体库的变化检测,需要使用SetNtmsDeviceChangeDetection功能。可移动存储管理器继续侦查,直到变化探测会话使用EndNtmsDeviceChangeDetection函数关闭指定的设备的变化。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
变化检测功能
EndNtmsDeviceChangeDetection
SetNtmsDeviceChangeDetection
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==BeginNtmsDeviceChangeDetection Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The BeginNtmsDeviceChangeDetection function allows the application to begin a device change detection session.
Syntax
C++
DWORD BeginNtmsDeviceChangeDetection(
__in HANDLE hSession,
__out LPHANDLE lpDetectHandle
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpDetectHandle [out]
Pointer to variable that receives the device change detection handle.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_INVALID_HANDLEThe value of the hSession parameter is not a valid session handle.
ERROR_SUCCESSThe operator request has been canceled.

Remarks
After calling BeginNtmsDeviceChangeDetection, the application can set the stand-alone libraries for which media change detection is required using the SetNtmsDeviceChangeDetection function. The Removable Storage Manager continues to detect changes for the devices specified until the change detection session is closed using the EndNtmsDeviceChangeDetection function.
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
Change Detection Functions
EndNtmsDeviceChangeDetection
SetNtmsDeviceChangeDetection
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525475(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:26:36