win32-def
Version:
win32 definitions for node-ffi
28 lines • 840 B
JavaScript
import * as D from '../../../lib/common.def.js';
import { genStruct } from '../struct.helper.js';
import { RECT_Factory } from '../windef/RECT.js';
const key = 'WINDOWINFO';
const ptr = `${key}*`;
const init = {
cbSize: D.DWORD,
rcWindow: RECT_Factory,
rcClient: RECT_Factory,
dwStyle: D.DWORD,
dwExStyle: D.DWORD,
dwWindowStatus: D.DWORD,
cxWindowBorders: D.UINT,
cyWindowBorders: D.UINT,
atomWindowType: D.ATOM,
wCreatorVersion: D.WORD,
};
export const LPWINDOWINFO = ptr;
export const WINDOWINFO_Name = key;
export const WINDOWINFO_Init = init;
/**
* WINDOWINFO structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-WINDOWINFO
*/
export function WINDOWINFO_Factory() {
return genStruct(init, key, ptr, ['cbSize']);
}
//# sourceMappingURL=WINDOWINFO.js.map