UNPKG

win32-def

Version:
31 lines 1.4 kB
import type * as T from '../../../lib/common.types.js'; import type { StructFactoryResult, StructInitType } from '../../../lib/types.js'; import type { DEVMODEW_Type } from '../wingdi/DEVMODEW.js'; declare const init: StructInitType; export declare const PPRINTER_DEFAULTS: "PRINTER_DEFAULTS*"; export declare const PRINTER_DEFAULTS_Name = "PRINTER_DEFAULTS"; export declare const PRINTER_DEFAULTS_Init: typeof init; /** * PRINTER_DEFAULTS structure, * Specifies the default data type, environment, initialization data, and access rights for a printer. * @link https://learn.microsoft.com/en-us/windows/win32/printdocs/printer-defaults */ export declare function PRINTER_DEFAULTS_Factory(): StructFactoryResult<PRINTER_DEFAULTS_Type>; /** * PRINTER_DEFAULTS structure, * Specifies the default data type, environment, initialization data, and access rights for a printer. * @link https://learn.microsoft.com/en-us/windows/win32/printdocs/printer-defaults */ export interface PRINTER_DEFAULTS_Type { /** * Pointer to a null-terminated string that specifies the default data type for a printer. */ pDatatype: T.LPTSTR; /** * Pointer to a DEVMODE structure that identifies the default environment and initialization data for a printer. */ pDevMode: DEVMODEW_Type; DesiredAccess: T.ACCESS_MASK; } export {}; //# sourceMappingURL=PRINTER_DEFAULTS.d.ts.map