DialogBoxIndirect function user32

void DialogBoxIndirect(
  1. int hInstance,
  2. Pointer<DLGTEMPLATE> lpTemplate,
  3. int hWndParent,
  4. Pointer<NativeFunction<DLGPROC>> lpDialogFunc
)

Creates a modal dialog box from a dialog box template in memory. DialogBoxIndirect does not return control until the specified callback function terminates the modal dialog box by calling the EndDialog function.

DialogBoxIndirect is implemented as a call to the DialogBoxIndirectParam function.

void DialogBoxIndirectW(
   hInstance,
   lpTemplate,
   hWndParent,
   lpDialogFunc
);

Implementation

void DialogBoxIndirect(int hInstance, Pointer<DLGTEMPLATE> lpTemplate,
        int hWndParent, Pointer<NativeFunction<DLGPROC>> lpDialogFunc) =>
    DialogBoxIndirectParam(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0);