win32-api
Version:
FFI definitions of windows win32 api for node-ffi
10 lines • 541 B
TypeScript
import type { HWND } from 'win32-def/types';
/**
* Retrieves a handle to the specified printer or print server or other types of handles in the print subsystem
* @link https://learn.microsoft.com/en-us/windows/win32/printdocs/openprinter
*
* 检索指定打印机或打印服务器或打印子系统中其他类型的句柄的句柄
* @link https://learn.microsoft.com/zh-cn/windows/win32/printdocs/openprinter
*/
export declare function OpenPrinter(printerName: string): Promise<HWND | null>;
//# sourceMappingURL=OpenPrinter.d.ts.map