网站首页  词典首页

请输入您要查询的函数:

 

术语 getntmsrequestorder
释义 GetNtmsRequestOrder
语法:
C++
DWORD GetNtmsRequestOrder(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId,
__out LPDWORD lpdwOrderNumber
);
GetNtmsRequestOrder功能
[移动存储管理不再作为Windows 7和Windows服务器2008 R2提供。]
该GetNtmsRequestOrder函数获取指定的要求将在库队列处理顺序。
参数
hSession [in]
处理由OpenNtmsSession函数返回的会议。
lpRequestId [in]
唯一标识符库的要求。
lpdwOrderNumber [out]
为了在这一请求将在队列中处理。
返回值
这个函数返回下列值之一。
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_CONTROL_ACCESS计算机被拒绝。其他安全错误也是可能的,但它们都将意味着安全子系统的错误。
Windows XP/2000操作系统:没有访问权限是必需的。
ERROR_DATABASE_FAILUREThe数据库无法访问或已损坏。
ERROR_INVALID_HANDLEThe会话句柄丢失或无效。
ERROR_INVALID_PARAMETERThe库的要求标识符是丢失。
ERROR_OBJECT_NOT_FOUNDA与指定标识符请求对象无法找到。
ERROR_SUCCESSThe功能是成功的。
备注
如果GetNtmsRequestOrder函数返回零lpdwOrderNumber,顺序没有为此要求提供。订单的号码是特定类型的请求的类型,因为在一个预先确定的顺序处理。
例如,NTMS_LM_DISMOUNT请求被处理之前,一NTMS_LM_MOUNT要求。在一个特定的类的请求队列可以订购,但是。较低的有序请求首先处理,例如,1是第一个请求处理的,2是一个请求处理,等等。
您可以使用这个订单号,请求类型,提交时间和提交的日期,以帮助查看有序的队列。请求类型,订单号码,并提交时间应执行排序。
现在在NTMS_LM_MOUNT,请求进行排序用订单号。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
客户端 支持 Windows Vista
服务器 支持 Windows Server 2008
HeaderNtmsapi.h
LibraryNtmsapi.lib
DLLNtmsapi.dll
参见
库控制功能
SetNtmsRequestOrder
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==GetNtmsRequestOrder Function
[ Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The GetNtmsRequestOrder function gets the order that the specified request will be processed in the library queue.
Syntax
C++
DWORD GetNtmsRequestOrder(
__in HANDLE hSession,
__in LPNTMS_GUID lpRequestId,
__out LPDWORD lpdwOrderNumber
);
Parameters
hSession [in]
Handle to the session returned by the OpenNtmsSession function.
lpRequestId [in]
Unique identifier of a library request.
lpdwOrderNumber [out]
Order in which this request will be processed in the queue.
Return Value
This function returns one of the following values.
ValueMeaning
ERROR_ACCESS_DENIEDNTMS_CONTROL_ACCESS to the computer is denied. Other security errors are also possible, but they would indicate a security subsystem error.
Windows XP/2000: No access rights are required.
ERROR_DATABASE_FAILUREThe database is inaccessible or damaged.
ERROR_INVALID_HANDLEThe session handle is missing or is not valid.
ERROR_INVALID_PARAMETERThe library request identifier is missing.
ERROR_OBJECT_NOT_FOUNDA request object with the specified identifier cannot be found.
ERROR_SUCCESSThe function was successful.

Remarks
If the GetNtmsRequestOrder function returns zero in lpdwOrderNumber, ordering is not available for this request. The order number is specific to the type of request because the types are processed in a predetermined order.
For example, the NTMS_LM_DISMOUNT request is processed prior to an NTMS_LM_MOUNT request. Within a specific class of requests the queue can be ordered, however. The lower-ordered requests are processed first, for example, 1 is the first request processed, 2 is the next request processed, and so forth.
You can use this order number, the request type, the submission time, and the submission date to help view the queue in sorted order. Request type, order number, and submission time should perform sorting.
Currently on NTMS_LM_MOUNT, requests are sorted using the order number.
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
SetNtmsRequestOrder
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/bb540679(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:24:13