网站首页  词典首页

请输入您要查询的函数:

 

术语 cancelntmsoperatorrequest
释义 CancelNtmsOperatorRequest
语法:
C++
DWORD CancelNtmsOperatorRequest(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId
);
CancelNtmsOperatorRequest功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该CancelNtmsOperatorRequest函数取消指定的罗申操作员请求。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpRequestId [in]
经营者的要求,独特的标识符被取消。
要检索现有的运营商请求列表,使用EnumerateNtmsObject功能。您也可以使用由SubmitNtmsOperatorRequest函数返回的标识符。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_ACCESS_DENIEDThe用户尝试执行该函数没有管理员权限。只有一个丹参服务器管理员可以取消经营者的要求。
ERROR_INVALID_HANDLEThe会话句柄丢失或无效。
ERROR_INVALID_PARAMETERThe请求标识符是丢失。
ERROR_INVALID_STATEThe要求已完成或取消。
ERROR_OBJECT_NOT_FOUNDThe操作员请求对象ID找不到。此错误发生如果请求ID是无效的。
ERROR_SUCCESSThe操作员请求已被取消。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
操作员请求函数
SatisfyNtmsOperatorRequest
SubmitNtmsOperatorRequest
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==CancelNtmsOperatorRequest Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The CancelNtmsOperatorRequest function cancels the specified RSM operator request.
Syntax
C++
DWORD CancelNtmsOperatorRequest(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpRequestId [in]
Unique identifier of the operator request to be canceled.
To retrieve the list of existing operator requests, use the EnumerateNtmsObject function. You can also use the identifier returned by the SubmitNtmsOperatorRequest function.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_ACCESS_DENIEDThe user that tried to execute this function does not have administrator privileges. Only an administrator of the RSM server can cancel operator requests.
ERROR_INVALID_HANDLEThe session handle is missing or is not valid.
ERROR_INVALID_PARAMETERThe request identifier is missing.
ERROR_INVALID_STATEThe request has already been completed or canceled.
ERROR_OBJECT_NOT_FOUNDThe operator request object ID was not found. This error can occur if the request ID is not valid.
ERROR_SUCCESSThe operator request has been canceled.

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
SatisfyNtmsOperatorRequest
SubmitNtmsOperatorRequest
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525478(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:29:51