hwndP (HWND) - input
Parent-window handle of the created dialog window.
HWND_DESKTOP
hwndO (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.
pfild (PFILEDLG) - input
hwndDlg (HWND) - returns
If the flag is set by the application, the return value is the window handle of the file dialog, or NULLHANDLE if the dialog cannot be created. If the flag is not set, the return value is TRUE if dialog creation is successful, or NULLHANDLE if it is unsuccessful.