win32-def
Version:
win32 definitions for node-ffi
25 lines • 655 B
JavaScript
import * as D from '../../../lib/common.def.js';
import { genStruct } from '../struct.helper.js';
import { POINT_Factory } from '../windef/POINT.js';
const key = 'MSG';
const ptr = `${key}*`;
const init = {
hwnd: D.HWND,
message: D.UINT,
wParam: D.WPARAM,
lParam: D.LPARAM,
time: D.DWORD,
pt: POINT_Factory,
lPrivate: D.DWORD,
};
export const LPMSG = ptr;
export const MSG_Name = key;
export const MSG_Init = init;
/**
* MSG structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-msg
*/
export function MSG_Factory() {
return genStruct(init, key, ptr);
}
//# sourceMappingURL=MSG.js.map