DialogBoxParamW method

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

Implementation

int DialogBoxParamW(
  ffi.Pointer<HINSTANCE__> hInstance,
  ffi.Pointer<ffi.Uint16> lpTemplateName,
  ffi.Pointer<HWND__> hWndParent,
  ffi.Pointer<ffi.NativeFunction<DLGPROC>> lpDialogFunc,
  int dwInitParam,
) {
  return (_DialogBoxParamW ??=
      _dylib.lookupFunction<_c_DialogBoxParamW, _dart_DialogBoxParamW>(
          'DialogBoxParamW'))(
    hInstance,
    lpTemplateName,
    hWndParent,
    lpDialogFunc,
    dwInitParam,
  );
}