win32-def
Version:
win32 definitions for node-ffi
67 lines • 2 kB
TypeScript
import type * as T from '../../../lib/common.types.js';
import type { StructFactoryResult, StructInitType } from '../../../lib/types.js';
import type { POINT_Type } from '../windef/POINT.js';
declare const init: StructInitType;
export declare const LPDEVMODEW: "DEVMODEW*";
export declare const DEVMODEW_Name = "DEVMODEW";
export declare const DEVMODEW_Init: typeof init;
/**
* DEVMODEW structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-devmodew
*/
export declare function DEVMODEW_Factory(): StructFactoryResult<DEVMODEW_Type>;
/**
* DEVMODEW structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-devmodew
*/
export interface DEVMODEW_Type {
dmDeviceName: T.WCHAR;
dmSpecVersion: T.WORD;
dmDriverVersion: T.WORD;
dmSize: T.WORD;
dmDriverExtra: T.WORD;
dmFields: T.DWORD;
u1: {
s1: {
dmOrientation: T.SHORT;
dmPaperSize: T.SHORT;
dmPaperLength: T.SHORT;
dmPaperWidth: T.SHORT;
dmScale: T.SHORT;
dmCopies: T.SHORT;
dmDefaultSource: T.SHORT;
dmPrintQuality: T.SHORT;
};
dmPosition: POINT_Type;
s2: {
dmPosition: POINT_Type;
dmDisplayOrientation: T.DWORD;
dmDisplayFixedOutput: T.DWORD;
};
};
dmColor: T.SHORT;
dmDuplex: T.SHORT;
dmYResolution: T.SHORT;
dmTTOption: T.SHORT;
dmCollate: T.SHORT;
dmFormName: T.WCHAR;
dmLogPixels: T.WORD;
dmBitsPerPel: T.DWORD;
dmPelsWidth: T.DWORD;
dmPelsHeight: T.DWORD;
u2: {
dmDisplayFlags: T.DWORD;
dmNup: T.DWORD;
};
dmDisplayFrequency: T.DWORD;
dmICMMethod: T.DWORD;
dmICMIntent: T.DWORD;
dmMediaType: T.DWORD;
dmDitherType: T.DWORD;
dmReserved1: T.DWORD;
dmReserved2: T.DWORD;
dmPanningWidth: T.DWORD;
dmPanningHeight: T.DWORD;
}
export {};
//# sourceMappingURL=DEVMODEW.d.ts.map