hwndParent (HWND) - input

      Parent-window handle of the created dialog window.

      HWND_DESKTOP

        The desktop window
      HWND_OBJECT
        Object window
      Other
        Specified window.

      hwndOwner (HWND) - input

        Requested owner-window handle of the created dialog window.

        The actual owner window is calculated using the algorithm specified in the description of the WinLoadDlg function.

      pfnDlgProc (PFNWP) - input

        Dialog procedure for the created dialog window.

      hmod (HMODULE) - input

        Resource identity containing the dialog template.

        NULLHANDLE

          Use the application's .EXE file.
        Other
          Module handle returned from the DosLoadModule or DosQueryModuleHandle call.

        idDlg (ULONG) - input

          Dialog-template identity within the resource file.

          It is also used as the identity of the created dialog window. Is must be greater or equal to 0 and less or equal to 0xFFFF.

        pCreateParams (PVOID) - input

          Pointer to application-defined data area.

          This is passed to the dialog procedure in the WM_INITDLG message.

          This parameter MUST be a pointer rather than a long.

        ulResult (ULONG) - returns

          Reply value.

          Value established by the WinDismissDlg call or DID_ERROR if an error occurs.


        [Back] [Next]