PeekMessageA method

int PeekMessageA(
  1. Pointer<LPMSG> lpMsg,
  2. Pointer<HWND__> hWnd,
  3. int wMsgFilterMin,
  4. int wMsgFilterMax,
  5. int wRemoveMsg,
)

Implementation

int PeekMessageA(
  ffi.Pointer<LPMSG> lpMsg,
  ffi.Pointer<HWND__> hWnd,
  int wMsgFilterMin,
  int wMsgFilterMax,
  int wRemoveMsg,
) {
  return (_PeekMessageA ??= _dylib
      .lookupFunction<_c_PeekMessageA, _dart_PeekMessageA>('PeekMessageA'))(
    lpMsg,
    hWnd,
    wMsgFilterMin,
    wMsgFilterMax,
    wRemoveMsg,
  );
}