UNPKG

win32-def

Version:
22 lines 713 B
import * as D from '../../../lib/common.def.js'; import { genStruct } from '../struct.helper.js'; const key = 'RID_DEVICE_INFO_HID'; const ptr = `${key}*`; const init = { dwVendorId: D.DWORD, dwProductId: D.DWORD, dwVersionNumber: D.DWORD, usUsagePage: D.USHORT, usUsage: D.USHORT, }; export const PRID_DEVICE_INFO_HID = ptr; export const RID_DEVICE_INFO_HID_Name = key; export const RID_DEVICE_INFO_HID_Init = init; /** * RID_DEVICE_INFO_HID structure * @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-RID_DEVICE_INFO_HID */ export function RID_DEVICE_INFO_HID_Factory() { return genStruct(init, key, ptr); } //# sourceMappingURL=RID_DEVICE_INFO_HID.js.map