RegisterHotKey method

int RegisterHotKey(
  1. Pointer<HWND__> hWnd,
  2. int id,
  3. int fsModifiers,
  4. int vk,
)

Implementation

int RegisterHotKey(
  ffi.Pointer<HWND__> hWnd,
  int id,
  int fsModifiers,
  int vk,
) {
  return (_RegisterHotKey ??=
      _dylib.lookupFunction<_c_RegisterHotKey, _dart_RegisterHotKey>(
          'RegisterHotKey'))(
    hWnd,
    id,
    fsModifiers,
    vk,
  );
}