Hi Mul,
Thanks - I understand now what you are looking for with that function
If it existed I'd probably have used it too.
I used a workaround in a Windows GUI program, that might also work
in a Windows Console program although I've not tried it there. But it is
only for Windows so it may be of no help. I use an "invisible" Dir box to
get Unicode directory listing for directories. Definitely more overhead than
the function call - but sometimes you just gotta get it done anyway you can.
RetVal = DlgDirListW(hwndDlg,p_data,DirBox,Invisible,DDL_DIRECTORY);
Then I can process the list of directories as needed.
Regards,
John Z