网站首页  计算机词典

请输入您要查询的字词:

 

字词 deleteprinterconnection
释义 DeletePrinterConnection
语法:
BOOL DeletePrinterConnection(
__in LPTSTR pName
);
DeletePrinterConnection功能
该DeletePrinterConnection函数删除一个连接到这是通过调用设立AddPrinterConnection或ConnectToPrinterDlg打印机。
参数
pName [in]
指向一个以NULL结尾的字符串指定打印机的连接名称删除。
返回值
如果函数成功,返回值是一个非零值。
如果函数失败,返回值是零。
备注
该DeletePrinterConnection函数不删除任何打印机驱动程序被复制到该打印机的连接服务器上的文件。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinspool.h(头文件:winuser.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode和ANSI namesDeletePrinterConnectionW(Unicode)和DeletePrinterConnectionA(ANSI)的
参见
Printing and Print Spooler Overview
Printing and Print Spooler 函数
AddPrinterConnection
AddPrinterConnection2
ConnectToPrinterDlg
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==DeletePrinterConnection Function
The DeletePrinterConnection function deletes a connection to a printer that was established by a call to AddPrinterConnection or ConnectToPrinterDlg .
Syntax
BOOL DeletePrinterConnection(
__in LPTSTR pName
);
Parameters
pName [in]
Pointer to a null-terminated string that specifies the name of the printer connection to delete.
Return Value
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
Remarks
The DeletePrinterConnection function does not delete any printer driver files that were copied to the server to which the printer is attached.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinspool.h (include Windows.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode and ANSI namesDeletePrinterConnectionW (Unicode) and DeletePrinterConnectionA (ANSI)
See Also
Printing and Print Spooler Overview
Printing and Print Spooler Functions
AddPrinterConnection
AddPrinterConnection2
ConnectToPrinterDlg
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183542(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 20:43:46