术语 | 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 |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。