网站首页  词典首页

请输入您要查询的函数:

 

术语 waitforntmsoperatorrequest
释义 WaitForNtmsOperatorRequest
语法:
C++
DWORD WaitForNtmsOperatorRequest(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId,
__in DWORD dwTimeout
);
WaitForNtmsOperatorRequest功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该WaitForNtmsOperatorRequest函数等待指定的罗申操作员请求。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpRequestId [in]
操作员请求标识符的SubmitNtmsOperatorRequest函数创建。
dwTimeout [in]
的毫秒数等。检查经营者的要求,通过超时值为零。如果您指定一个无限的价值,这个函数不超时。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_CANCELLEDThe经营者的要求,取消了管理员。
ERROR_INVALID_HANDLEThe价值hSession参数指定为NULL或无效。
参数值ERROR_INVALID_PARAMETEROne是无效的。
ERROR_NOT_CONNECTEDUnable连接到RSM服务。
ERROR_OBJECT_NOT_FOUNDUnable找到经营者请求对象。对象请求从数据库中刷新。应用程序应调用一个函数,如果想AllocateNtmsMedia丹参返回此错误。
ERROR_SUCCESSThe功能是成功的。
ERROR_TIMEOUTThe在指定时间前,经营者的要求落成至今的dwTimeout参数。
备注
与WaitForNtmsOperatorRequest函数中指定的操作员请求用于请求媒体,要求媒体必须从一个库到另一个,或要求罗申设备服务。
应用程序使用WaitForNtmsOperatorRequest等待了经营者的要求的决议。请求能够得到满足,拒绝,删除或超时。
通常,应用程序使用SubmitNtmsOperatorRequest功能向经营者要求和使用功能的WaitForNtmsOperatorRequest等待他们的决议。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
操作员请求函数
CancelNtmsOperatorRequest
SatisfyNtmsOperatorRequest
SubmitNtmsOperatorRequest
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==WaitForNtmsOperatorRequest Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The WaitForNtmsOperatorRequest function waits for the specified RSM operator request.
Syntax
C++
DWORD WaitForNtmsOperatorRequest(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId,
__in DWORD dwTimeout
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpRequestId [in]
Operator request identifier created by the SubmitNtmsOperatorRequest function.
dwTimeout [in]
Number of milliseconds to wait. To check for an operator request, pass a time-out value of zero. If you specify a value of INFINITE, this function does not time-out.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_CANCELLEDThe operator request was canceled by an administrator.
ERROR_INVALID_HANDLEThe value specified in the hSession parameter is NULL or is not valid.
ERROR_INVALID_PARAMETEROne of the parameter values is not valid.
ERROR_NOT_CONNECTEDUnable to connect to the RSM service.
ERROR_OBJECT_NOT_FOUNDUnable to find the operator request object. Object requests are flushed from the database. Application should call a function like AllocateNtmsMedia if RSM returns this error.
ERROR_SUCCESSThe function was successful.
ERROR_TIMEOUTThe time specified in the dwTimeout parameter elapsed before the completion of the operator request.

Remarks
Operator requests specified with the WaitForNtmsOperatorRequest function are used to request media, to request that the medium be moved from one library to another, or to request RSM device service.
An application uses WaitForNtmsOperatorRequest to wait for resolution of an operator request. The request can be satisfied, rejected, deleted, or timed out.
Typically, applications use the SubmitNtmsOperatorRequest function to submit operator requests and use the WaitForNtmsOperatorRequest function to wait for their resolution.
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
Operator Request Functions
CancelNtmsOperatorRequest
SatisfyNtmsOperatorRequest
SubmitNtmsOperatorRequest
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb540754(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:20:17