网站首页  词典首页

请输入您要查询的函数:

 

术语 deletentmsrequests
释义 DeleteNtmsRequests
语法:
C++
DWORD DeleteNtmsRequests(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId,
__in DWORD dwType,
__in DWORD dwCount
);
DeleteNtmsRequests功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该DeleteNtmsRequests函数删除请求或从RSM数据库要求的清单。库或运营商要求,在已完成,失败,拒绝或取消国家被删除的。提出的请求,排队的请求,等待的请求,并在请求书不能被删除。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpRequestId [in]
库的要求,标识和经营者名单被删除。
dwType [in]
请求类型。此参数可以是下列值之一。
ValueMeaning
NTMS_LIBREQUESTLibrary要求。
NTMS_OPREQUESTOperator要求。
dwCount [in]
数列表中的要求。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_MODIFY_ACCESS计算机被拒绝。其他安全错误也是可能的,但它们都将意味着安全子系统的错误。
Windows XP/2000操作系统:计算机NTMS_CONTROL_ACCESS被拒绝。其他安全错误也是可能的,但它们都将意味着安全子系统的错误。
ERROR_DATABASE_FAILUREDatabase无法访问或已损坏。
ERROR_DATABASE_FULLDatabase已满。
ERROR_INVALID_PARAMETERThe类型标识符是无效的。
ERROR_INVALID_HANDLEThe会话句柄丢失或无效。
ERROR_NOT_ENOUGH_MEMORYMemory在处理过程中分配失败。
ERROR_SUCCESSThe函数执行成功。
备注
一个错误,如果不返回的要求或请求列表找不到。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
库控制功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==DeleteNtmsRequests Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The DeleteNtmsRequests function deletes a request or a list of requests from the RSM database. Library or operator requests that are in a completed, failed, refused, or canceled state are removed. Submitted requests, queued requests, waiting requests, and in progress requests cannot be deleted.
Syntax
C++
DWORD DeleteNtmsRequests(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId,
__in DWORD dwType,
__in DWORD dwCount
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpRequestId [in]
List of identifiers of the library and operator requests to be deleted.
dwType [in]
Request type. This parameter can be one of the following values.
ValueMeaning
NTMS_LIBREQUESTLibrary request.
NTMS_OPREQUESTOperator request.

dwCount [in]
Number of requests in the list.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_MODIFY_ACCESS to the computer is denied. Other security errors are also possible, but they would indicate a security subsystem error.
Windows XP/2000: NTMS_CONTROL_ACCESS to the computer is denied. Other security errors are also possible, but they would indicate a security subsystem error.
ERROR_DATABASE_FAILUREDatabase is inaccessible or damaged.
ERROR_DATABASE_FULLDatabase is full.
ERROR_INVALID_PARAMETERThe type identifier is not valid.
ERROR_INVALID_HANDLEThe session handle is missing or is not valid.
ERROR_NOT_ENOUGH_MEMORYMemory allocation failure during processing.
ERROR_SUCCESSThe function executed successfully.

Remarks
An error is not returned if a request or list of requests is not found.
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
Library Control Functions
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb525495(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:22:23