WinMain method

int WinMain(
  1. Pointer<HINSTANCE__> hInstance,
  2. Pointer<HINSTANCE__> hPrevInstance,
  3. Pointer<Int8> lpCmdLine,
  4. int nShowCmd,
)

Implementation

int WinMain(
  ffi.Pointer<HINSTANCE__> hInstance,
  ffi.Pointer<HINSTANCE__> hPrevInstance,
  ffi.Pointer<ffi.Int8> lpCmdLine,
  int nShowCmd,
) {
  return (_WinMain ??=
      _dylib.lookupFunction<_c_WinMain, _dart_WinMain>('WinMain'))(
    hInstance,
    hPrevInstance,
    lpCmdLine,
    nShowCmd,
  );
}