DialogBoxIndirectParamA method

int DialogBoxIndirectParamA(
  1. Pointer<HINSTANCE__> hInstance,
  2. Pointer<DLGTEMPLATE> hDialogTemplate,
  3. Pointer<HWND__> hWndParent,
  4. Pointer<NativeFunction<DLGPROC>> lpDialogFunc,
  5. int dwInitParam,
)

Implementation

int DialogBoxIndirectParamA(
  ffi.Pointer<HINSTANCE__> hInstance,
  ffi.Pointer<DLGTEMPLATE> hDialogTemplate,
  ffi.Pointer<HWND__> hWndParent,
  ffi.Pointer<ffi.NativeFunction<DLGPROC>> lpDialogFunc,
  int dwInitParam,
) {
  return (_DialogBoxIndirectParamA ??= _dylib.lookupFunction<
      _c_DialogBoxIndirectParamA,
      _dart_DialogBoxIndirectParamA>('DialogBoxIndirectParamA'))(
    hInstance,
    hDialogTemplate,
    hWndParent,
    lpDialogFunc,
    dwInitParam,
  );
}