@ahmic/autoit-js
Version:
Node.js bindings for AutoItX3.dll
32 lines (31 loc) • 944 B
TypeScript
import koffi from 'koffi';
import { DoubleWord, Long, Word } from './win32';
export interface IBitmapInfoHeader {
biSize?: DoubleWord;
biWidth?: Long;
biHeight?: Long;
biPlanes?: Word;
biBitCount?: Word;
biCompression?: DoubleWord;
biSizeImage?: DoubleWord;
biXPelsPerMeter?: Long;
biYPelsPerMeter?: Long;
biClrUsed?: DoubleWord;
biClrImportant?: DoubleWord;
}
export declare class BitmapInfoHeader implements IBitmapInfoHeader {
biSize?: DoubleWord;
biWidth?: Long;
biHeight?: Long;
biPlanes?: Word;
biBitCount?: Word;
biCompression?: DoubleWord;
biSizeImage?: DoubleWord;
biXPelsPerMeter?: Long;
biYPelsPerMeter?: Long;
biClrUsed?: DoubleWord;
biClrImportant?: DoubleWord;
constructor(options: Omit<IBitmapInfoHeader, 'biSize'>);
}
export declare const BITMAPINFOHEADER: koffi.IKoffiCType;
export declare const LPBITMAPINFOHEADER: koffi.IKoffiCType;