win32-def
Version:
win32 definitions for node-ffi
21 lines • 535 B
JavaScript
import * as D from '../../../lib/common.def.js';
import { genStruct } from '../struct.helper.js';
const key = 'RECT';
const ptr = `${key}*`;
const init = {
left: D.LONG,
top: D.LONG,
right: D.LONG,
bottom: D.LONG,
};
export const LPRECT = ptr;
export const RECT_Name = key;
export const RECT_Init = init;
/**
* RECT structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/windef/ns-windef-RECT
*/
export function RECT_Factory() {
return genStruct(init, key, ptr);
}
//# sourceMappingURL=RECT.js.map