网站首页  词典首页

请输入您要查询的函数:

 

术语 resetprinter
释义 ResetPrinter
语法:
BOOL ResetPrinter(
__in HANDLE hPrinter,
__in LPPRINTER_DEFAULTS pDefault
);
ResetPrinter功能
该ResetPrinter函数指定数据类型和设备模式值是由印刷StartDocPrinter函数提交文件所使用。这些值可以覆盖文件后使用打印SetJob功能已经开始。
参数
hPrinter [in]
处理到打印机。使用OpenPrinter或添加打印机函数检索打印机处理。
pDefault [in]
指针PRINTER_DEFAULTS结构。
该ResetPrinter函数忽略的PRINTER_DEFAULTS结构DesiredAccess成员。该成员设置为零。
返回值
如果函数成功,返回值是一个非零值。
如果函数失败,返回值是零。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinspool.h(头文件:winuser.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode和ANSI namesResetPrinterW(Unicode)和ResetPrinterA(ANSI)的
参见
Printing and Print Spooler Overview
Printing and Print Spooler 函数
OpenPrinter
PRINTER_DEFAULTS
StartDocPrinter
SetJob
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==ResetPrinter Function
The ResetPrinter function specifies the data type and device mode values to be used for printing documents submitted by the StartDocPrinter function. These values can be overridden by using the SetJob function after document printing has started.
Syntax
BOOL ResetPrinter(
__in HANDLE hPrinter,
__in LPPRINTER_DEFAULTS pDefault
);
Parameters
hPrinter [in]
Handle to the printer. Use the OpenPrinter or AddPrinter function to retrieve a printer handle.
pDefault [in]
Pointer to a PRINTER_DEFAULTS structure.
The ResetPrinter function ignores the DesiredAccess member of the PRINTER_DEFAULTS structure. Set that member to zero.
Return Value
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinspool.h (include Windows.h)
LibraryWinspool.lib
DLLSpoolss.dll
Unicode and ANSI namesResetPrinterW (Unicode) and ResetPrinterA (ANSI)
See Also
Printing and Print Spooler Overview
Printing and Print Spooler Functions
OpenPrinter
PRINTER_DEFAULTS
StartDocPrinter
SetJob
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162926(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:21:14