win32-def
Version:
win32 definitions for node-ffi
23 lines • 637 B
JavaScript
import * as D from '../../../lib/common.def.js';
import { genStruct } from '../struct.helper.js';
const key = 'MOUSEINPUT';
const ptr = `${key}*`;
const init = {
dx: D.LONG,
dy: D.LONG,
mouseData: D.UINT32,
dwFlags: D.UINT32,
time: D.UINT32,
dwExtraInfo: D.PUINT,
};
export const LPMOUSEINPUT = ptr;
export const MOUSEINPUT_Name = key;
export const MOUSEINPUT_Init = init;
/**
* MOUSEINPUT structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-mouseinput
*/
export function MOUSEINPUT_Factory() {
return genStruct(init, key, ptr);
}
//# sourceMappingURL=MOUSEINPUT.js.map