CreateDialogParamW method

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

Implementation

ffi.Pointer<HWND__> CreateDialogParamW(
  ffi.Pointer<HINSTANCE__> hInstance,
  ffi.Pointer<ffi.Uint16> lpTemplateName,
  ffi.Pointer<HWND__> hWndParent,
  ffi.Pointer<ffi.NativeFunction<DLGPROC>> lpDialogFunc,
  int dwInitParam,
) {
  return (_CreateDialogParamW ??=
      _dylib.lookupFunction<_c_CreateDialogParamW, _dart_CreateDialogParamW>(
          'CreateDialogParamW'))(
    hInstance,
    lpTemplateName,
    hWndParent,
    lpDialogFunc,
    dwInitParam,
  );
}