hwndParent (HWND) - input
HWND_DESKTOP
hwndOwner (HWND) - input
The actual owner window is calculated using the algorithm specified in the description of the WinLoadDlg function.
pfnDlgProc (PFNWP) - input
hmod (HMODULE) - input
NULLHANDLE
idDlg (ULONG) - input
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
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
Value established by the WinDismissDlg call or DID_ERROR if an error occurs.