网站首页  词典首页

请输入您要查询的函数:

 

术语 deleteprintprocessor
释义 DeletePrintProcessor
语法:
BOOL DeletePrintProcessor(
__in LPTSTR pName,
__in LPTSTR pEnvironment,
__in LPTSTR pPrintProcessorName
);
DeletePrintProcessor功能
该DeletePrintProcessor函数删除的AddPrintProcessor功能打印机处理器补充。
参数
pName [in]
一个指向 null 结尾的字符串指针指定的服务器从该处理器要删除的名称。如果该参数为NULL,打印机处理器被删除本地。
pEnvironment [in]
一个指向 null 结尾的字符串指针指定的环境,从该处理器为删除(例如,Windows NT的X86的视窗IA64的,或Windows x64)的。如果该参数为NULL,该处理器是删除从目前的环境中调用应用程序和客户机(不是目标应用程序和打印服务器)。空是推荐的价值,因为它提供了最大的可移植性。
pPrintProcessorName [in]
一个指向 null 结尾的字符串指针,指定处理器的名称被删除。
返回值
如果函数成功,返回值是一个非零值。
如果函数失败,返回值是零。
备注
调用者必须有相关权限。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinspool.h(头文件:winuser.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode和ANSI namesDeletePrintProcessorW(Unicode)和DeletePrintProcessorA(ANSI)的
参见
Printing and Print Spooler Overview
Printing and Print Spooler 函数
AddPrintProcessor
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==DeletePrintProcessor Function
The DeletePrintProcessor function removes a printer processor added by the AddPrintProcessor function.
Syntax
BOOL DeletePrintProcessor(
__in LPTSTR pName,
__in LPTSTR pEnvironment,
__in LPTSTR pPrintProcessorName
);
Parameters
pName [in]
A pointer to a null-terminated string that specifies the name of the server from which the processor is to be removed. If this parameter is NULL, the printer processor is removed locally.
pEnvironment [in]
A pointer to a null-terminated string that specifies the environment from which the processor is to be removed (for example, Windows NT x86, Windows IA64, or Windows x64). If this parameter is NULL, the processor is removed from the current environment of the calling application and client machine (not of the destination application and print server). NULL is the recommended value, as it provides maximum portability.
pPrintProcessorName [in]
A pointer to a null-terminated string that specifies the name of the processor 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 the SeLoadDriverPrivilege .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinspool.h (include Windows.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode and ANSI namesDeletePrintProcessorW (Unicode) and DeletePrintProcessorA (ANSI)
See Also
Printing and Print Spooler Overview
Printing and Print Spooler Functions
AddPrintProcessor
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183549(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 13:15:57