win32-def
Version:
win32 definitions for node-ffi
29 lines • 759 B
JavaScript
import * as D from '../../../lib/common.def.js';
import { genStruct } from '../struct.helper.js';
const key = 'RAWMOUSE';
const ptr = `${key}*`;
const init = {
usFlags: D.USHORT,
u: {
ulButtons: D.ULONG,
s: {
usButtonFlags: D.USHORT,
usButtonData: D.USHORT,
},
},
ulRawButtons: D.ULONG,
lLastX: D.LONG,
lLastY: D.LONG,
ulExtraInformation: D.ULONG,
};
/**
* RAWMOUSE structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-RAWMOUSE
*/
export function RAWMOUSE_Factory() {
return genStruct(init, key, ptr);
}
export const LPRAWMOUSE = ptr;
export const RAWMOUSE_Name = key;
export const RAWMOUSE_Init = init;
//# sourceMappingURL=RAWMOUSE.js.map