@ahmic/autoit-js
Version:
Node.js bindings for AutoItX3.dll
14 lines (11 loc) • 456 B
JavaScript
import koffi from 'koffi';
import './@types/point.js';
import './@types/rect.js';
import { HWND, LPCWSTR } from './@types/win32.js';
import { autoit } from './lib/autoit.js';
function ControlGetHandle(windowHandle, controlId) {
const handleRef = autoit.invoke('AU3_ControlGetHandle', HWND, [HWND, LPCWSTR], [windowHandle, controlId]);
return koffi.address(handleRef);
}
export { ControlGetHandle };
//# sourceMappingURL=control-get-handle.js.map