UNPKG

win32-def

Version:
22 lines 620 B
import * as D from '../../../lib/common.def.js'; import { genStruct } from '../struct.helper.js'; const key = 'KEYBDINPUT'; const ptr = `${key}*`; const init = { wVk: D.UINT16, wScan: D.UINT16, dwFlags: D.UINT32, time: D.UINT32, dwExtraInfo: D.PUINT, }; export const LPKEYBDINPUT = ptr; export const KEYBDINPUT_Name = key; export const KEYBDINPUT_Init = init; /** * KEYBDINPUT structure * @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-keybdinput */ export function KEYBDINPUT_Factory() { return genStruct(init, key, ptr); } //# sourceMappingURL=KEYBDINPUT.js.map