网站首页  词典首页

请输入您要查询的函数:

 

术语 deleteprinterdataex
释义 DeletePrinterDataEx
语法:
DWORD DeletePrinterDataEx(
__in HANDLE hPrinter,
__in LPCTSTR pKeyName,
__in LPCTSTR pValueName
);
DeletePrinterDataEx功能
该DeletePrinterDataEx函数删除从一个打印机的配置数据指定的值。打印机的配置数据由一组命名输入值的注册表项的层次结构中。根据该函数删除指定的键指定值。
像DeletePrinterData功能,DeletePrinterDataEx可以删除的SetPrinterData功能存储的值。此外,DeletePrinterDataEx下可以删除由SetPrinterDataEx函数指定键存储的值。
参数
hPrinter [in]
一个句柄,打印机该函数删除一个值。使用OpenPrinter或添加打印机函数检索打印机处理。
pKeyName [in]
一个指向 null 结尾的字符串指针,包含指定键的值删除。使用反斜杠(\\)作为分隔符指定的路径有一个或多个子项。
如果pKeyName为NULL或空字符串,DeletePrinterDataEx返回ERROR_INVALID_PARAMETER。
pValueName [in]
一个指向 null 结尾的字符串指针指定的值的名称删除。
返回值
如果函数成功,返回值是ERROR_SUCCESS。
如果函数失败,返回值是一个系统错误代码。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinspool.h(头文件:winuser.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode和ANSI namesDeletePrinterDataExW(Unicode)和DeletePrinterDataExA(ANSI)的
参见
Printing and Print Spooler Overview
Printing and Print Spooler 函数
DeletePrinterKey
EnumPrinterDataEx
EnumPrinterKey
GetPrinterDataEx
OpenPrinter
SetPrinterDataEx
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==DeletePrinterDataEx Function
The DeletePrinterDataEx function deletes a specified value from the configuration data for a printer. A printer's configuration data consists of a set of named and typed values stored in a hierarchy of registry keys. The function deletes a specified value under a specified key.
Like the DeletePrinterData function, DeletePrinterDataEx can delete values stored by the SetPrinterData function. In addition, DeletePrinterDataEx can delete values stored under a specified key by the SetPrinterDataEx function.
Syntax
DWORD DeletePrinterDataEx(
__in HANDLE hPrinter,
__in LPCTSTR pKeyName,
__in LPCTSTR pValueName
);
Parameters
hPrinter [in]
A handle to the printer for which the function deletes a value. Use the OpenPrinter or AddPrinter function to retrieve a printer handle.
pKeyName [in]
A pointer to a null-terminated string that specifies the key containing the value to delete. Use the backslash ( \\ ) character as a delimiter to specify a path that has one or more subkeys.
If pKeyName is NULL or an empty string, DeletePrinterDataEx returns ERROR_INVALID_PARAMETER.
pValueName [in]
A pointer to a null-terminated string that specifies the name of the value to delete.
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 namesDeletePrinterDataExW (Unicode) and DeletePrinterDataExA (ANSI)
See Also
Printing and Print Spooler Overview
Printing and Print Spooler Functions
DeletePrinterKey
EnumPrinterDataEx
EnumPrinterKey
GetPrinterDataEx
OpenPrinter
SetPrinterDataEx
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183544(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:18:19