术语 | deletemonitor |
释义 | DeleteMonitor 语法: BOOL DeleteMonitor( __in LPTSTR pName, __in LPTSTR pEnvironment, __in LPTSTR pMonitorName ); DeleteMonitor功能 该DeleteMonitor函数删除一个端口监视器的AddMonitor功能补充。 参数 pName [in] 一个指向 null 结尾的字符串指针指定的服务器从该显示器是要删除的名称。如果该参数为NULL,则删除端口监视器本地。 pEnvironment [in] 一个指向 null 结尾的字符串指针指定的环境,从该显示器为删除(例如,Windows x86的时,Windows IA64的,或Windows x64)的。如果该参数为NULL,则删除监控从目前的环境中调用应用程序和客户机(不是目标应用程序和打印服务器)。 pMonitorName [in] 一个指向 null 结尾的字符串指针指定监视器的名字被删除。 返回值 如果函数成功,返回值是一个非零值。 如果函数失败,返回值是零。 备注 调用者必须具有相关权限。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinspool.h(头文件:winuser.h) LibraryWinspool.lib DLLSpoolss.dll Unicode和ANSI namesDeleteMonitorW(Unicode)和DeleteMonitorA(ANSI)的 参见 Printing and Print Spooler Overview Printing and Print Spooler 函数 AddMonitor 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==DeleteMonitor Function The DeleteMonitor function removes a port monitor added by the AddMonitor function. Syntax BOOL DeleteMonitor( __in LPTSTR pName, __in LPTSTR pEnvironment, __in LPTSTR pMonitorName ); Parameters pName [in] A pointer to a null-terminated string that specifies the name of the server from which the monitor is to be removed. If this parameter is NULL, the port monitor is removed locally. pEnvironment [in] A pointer to a null-terminated string that specifies the environment from which the monitor is to be removed (for example, Windows x86, Windows IA64, or Windows x64). If this parameter is NULL, the monitor is removed from the current environment of the calling application and client machine (not of the destination application and print server). pMonitorName [in] A pointer to a null-terminated string that specifies the name of the monitor to be removed. Return Value If the function succeeds, the return value is a nonzero value. If the function fails, the return value is zero. Remarks The caller must have SeLoadDriverPrivilege . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinspool.h (include Windows.h) LibraryWinspool.lib DLLSpoolss.dll Unicode and ANSI namesDeleteMonitorW (Unicode) and DeleteMonitorA (ANSI) See Also Printing and Print Spooler Overview Printing and Print Spooler Functions AddMonitor Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd183538(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。