PeekMessageW method

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

Implementation

int PeekMessageW(
  ffi.Pointer<LPMSG> lpMsg,
  ffi.Pointer<HWND__> hWnd,
  int wMsgFilterMin,
  int wMsgFilterMax,
  int wRemoveMsg,
) {
  return (_PeekMessageW ??= _dylib
      .lookupFunction<_c_PeekMessageW, _dart_PeekMessageW>('PeekMessageW'))(
    lpMsg,
    hWnd,
    wMsgFilterMin,
    wMsgFilterMax,
    wRemoveMsg,
  );
}