win32-def
Version:
win32 definitions for node-ffi
29 lines • 826 B
JavaScript
import * as D from '../../../lib/common.def.js';
import { genStruct } from '../struct.helper.js';
const key = 'WNDCLASSEXW';
const ptr = `${key}*`;
const init = {
cbSize: D.UINT,
style: D.UINT,
lpfnWndProc: D.WNDPROC,
cbClsExtra: D.INT,
cbWndExtra: D.INT,
hInstance: D.HINSTANCE,
hIcon: D.HICON,
hCursor: D.HCURSOR,
hbrBackground: D.HBRUSH,
lpszMenuName: D.WString,
lpszClassName: D.WString,
hIconSm: D.HICON,
};
export const LPWNDCLASSEXW = ptr;
export const WNDCLASSEXW_Name = key;
export const WNDCLASSEXW_Init = init;
/**
* WNDCLASSEXW structure
* @link https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-wndclassexw
*/
export function WNDCLASSEXW_Factory() {
return genStruct(init, key, ptr, ['cbSize']);
}
//# sourceMappingURL=WNDCLASSEXW.js.map