术语 | netschedulejobgetinfo |
释义 | NetScheduleJobGetInfo 语法: C++ NET_API_STATUS NetScheduleJobGetInfo( __in_opt LPCWSTR Servername, __in DWORD JobId, __out LPBYTE *PointerToBuffer ); NetScheduleJobGetInfo功能 该NetScheduleJobGetInfo函数检索有关指定计算机上排队,某项工作。此函数需要的时间服务启动。 参数 服务器名称[中,可选] 一个常量字符串,它指定的DNS或NetBIOS的远程服务器上的功能是执行名称的指针。如果该参数为NULL,则使用本地计算机。 的JobID [in] 一个值,指示工作的用来检索信息的标识符。 PointerToBuffer [out] 一个缓冲区,它接收AT_INFO结构描述指定的工作指针。此缓冲区分配制度,必须使用NetApiBufferFree释放功能。有关更多信息,请参阅网络管理功能,缓冲器和网络管理功能缓冲区长度。 返回值 如果函数成功,返回值是NERR_Success。 如果函数失败,返回值是一个系统错误代码。对于一个错误代码的列表,请参见系统错误代码。 备注 通常只成员本地Administrators组的计算机上工作的时间表正在枚举可以成功地执行这一职能。如果服务器名称的字符串传递指向的服务器名参数是一个远程服务器,然后本地Administrators组的成员可以在服务器上成功地执行这一职能。 如果以下注册表值最低有效位设置(例如,0x00000001),然后用户属于Server Operators组也可以成功地执行这一功能。 HKLM \\系统\\ CurrentControlSet \\控制\\唾液酸\\ SubmitControl 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderLmat.h(包括Lmat.h) LibraryNetapi32.lib DLLNetapi32.dll 参见 网络管理概述 网络管理功能 附表功能 AT_INFO NetScheduleJobAdd NetScheduleJobDel NetScheduleJobEnum 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月13日 ==英文原文==NetScheduleJobGetInfo Function The NetScheduleJobGetInfo function retrieves information about a particular job queued on a specified computer. This function requires that the schedule service be started. Syntax C++ NET_API_STATUS NetScheduleJobGetInfo( __in_opt LPCWSTR Servername, __in DWORD JobId, __out LPBYTE *PointerToBuffer ); Parameters Servername [in, optional] A pointer to a constant string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used. JobId [in] A value that indicates the identifier of the job for which to retrieve information. PointerToBuffer [out] A pointer to the buffer that receives the AT_INFO structure describing the specified job. This buffer is allocated by the system and must be freed using the NetApiBufferFree function. For more information, see Network Management Function Buffers and Network Management Function Buffer Lengths . Return Value If the function succeeds, the return value is NERR_Success. If the function fails, the return value is a system error code. For a list of error codes, see System Error Codes . Remarks Normally only members of the local Administrators group on the computer where the schedule job is being enumerated can successfully execute this function. If the server name passed in the string pointed to by the Servername parameter is a remote server, then only members of the local Administrators group on the server can successfully execute this function. If the following registry value has the least significant bit set (for example, 0x00000001), then users belonging to the Server Operators group can also successfully execute this function. HKLM\\System\\CurrentControlSet\\Control\\Lsa\\SubmitControl Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderLmat.h (include Lmat.h) LibraryNetapi32.lib DLLNetapi32.dll See Also Network Management Overview Network Management Functions Schedule Functions AT_INFO NetScheduleJobAdd NetScheduleJobDel NetScheduleJobEnum Send comments about this topic to Microsoft Build date: 8/13/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/aa370617(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。