Jungo WinDriver  
Official Documentation

◆ UtilGetFileName()

DWORD DLLCALLCONV UtilGetFileName ( _Out_ PCHAR  pcFileName,
_In_ DWORD  dwFileNameSize,
_In_ const CHAR *  pcDefaultFileName 
)

Gets a file name from user input and out it in pcFileName.

Parameters
[out]pcFileNamePointer to buffer that will be filled with user input
[in]dwFileNameSizeNumber of bytes in file name
[in]pcDefaultFileNameDefault file name to write to pcFileName in case of no input
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise