UNPKG

@ahmic/autoit-js

Version:
9 lines (8 loc) 1.23 kB
import koffi from 'koffi'; import { Bool, DeviceContextHandle, DoubleWord, InstanceHandle, Int, LongParam, LongPointerToConstantWideString, LongPointerToVoid, LongResult, MenuHandle, UnsignedInt, WindowHandle, WordParam } from '../@types'; export declare function MAKELPARAM(low: number, high: number): number; export declare const GetDC: koffi.KoffiFunc<(windowHandle: WindowHandle | null) => DeviceContextHandle>; export declare const ReleaseDC: koffi.KoffiFunc<(windowHandle: WindowHandle | null, deviceContextHandle: DeviceContextHandle) => Int>; export declare const CreateWindowExW: koffi.KoffiFunc<(extendedWindowStyle: DoubleWord, className: LongPointerToConstantWideString | null, windowName: LongPointerToConstantWideString | null, style: DoubleWord, xPosition: Int, yPosition: Int, width: Int, height: Int, parentWindowHandle: WindowHandle | null, menuHandle: MenuHandle | null, instanceHandle: InstanceHandle | null, param: LongPointerToVoid | null) => WindowHandle>; export declare const SendMessageW: koffi.KoffiFunc<(windowHandle: WindowHandle, message: UnsignedInt, wParam: WordParam, lParam: LongParam) => LongResult>; export declare const DestroyWindow: koffi.KoffiFunc<(windowHandle: WindowHandle) => Bool>;