网站首页  词典首页

请输入您要查询的函数:

 

术语 deleteprinterdata
释义 DeletePrinterData
语法:
DWORD DeletePrinterData(
__in HANDLE hPrinter,
__in LPTSTR pValueName
);
DeletePrinterData功能
该DeletePrinterData函数删除指定的打印机配置数据。打印机的配置数据由一组命名和类型值。该DeletePrinterData函数删除其中一个值,其值指定名称。
调用DeletePrinterData等效于调用设置为“PrinterDriverData的pKeyName参数DeletePrinterDataEx功能”。
参数
hPrinter [in]
句柄到打印机的配置数据被删除。使用OpenPrinter或添加打印机函数检索打印机处理。
pValueName [in]
一个空指针结尾的配置数据值的名称被删除。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinspool.h(头文件:winuser.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode和ANSI namesDeletePrinterDataW(Unicode)和DeletePrinterDataA(ANSI)的
参见
Printing and Print Spooler Overview
Printing and Print Spooler 函数
EnumPrinterData
GetPrinterData
OpenPrinter
SetPrinter
SetPrinterData
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==DeletePrinterData Function
The DeletePrinterData function deletes specified configuration data for a printer. A printer's configuration data consists of a set of named and typed values. The DeletePrinterData function deletes one of these values, specified by its value name.
Calling DeletePrinterData is equivalent to calling the DeletePrinterDataEx function with the pKeyName parameter set to "PrinterDriverData".
Syntax
DWORD DeletePrinterData(
__in HANDLE hPrinter,
__in LPTSTR pValueName
);
Parameters
hPrinter [in]
A handle to the printer whose configuration data is to be deleted. Use the OpenPrinter or AddPrinter function to retrieve a printer handle.
pValueName [in]
A pointer to the null-terminated name of the configuration data value to be deleted.
Return Value
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is a system error code.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinspool.h (include Windows.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode and ANSI namesDeletePrinterDataW (Unicode) and DeletePrinterDataA (ANSI)
See Also
Printing and Print Spooler Overview
Printing and Print Spooler Functions
EnumPrinterData
GetPrinterData
OpenPrinter
SetPrinter
SetPrinterData
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183543(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 11:27:54