DialogBoxParamA method

int DialogBoxParamA(
  1. Pointer<HINSTANCE__> hInstance,
  2. Pointer<Int8> lpTemplateName,
  3. Pointer<HWND__> hWndParent,
  4. Pointer<NativeFunction<DLGPROC>> lpDialogFunc,
  5. int dwInitParam,
)

Implementation

int DialogBoxParamA(
  ffi.Pointer<HINSTANCE__> hInstance,
  ffi.Pointer<ffi.Int8> lpTemplateName,
  ffi.Pointer<HWND__> hWndParent,
  ffi.Pointer<ffi.NativeFunction<DLGPROC>> lpDialogFunc,
  int dwInitParam,
) {
  return (_DialogBoxParamA ??=
      _dylib.lookupFunction<_c_DialogBoxParamA, _dart_DialogBoxParamA>(
          'DialogBoxParamA'))(
    hInstance,
    lpTemplateName,
    hWndParent,
    lpDialogFunc,
    dwInitParam,
  );
}