http://bugs.winehq.org/show_bug.cgi?id=25207
--- Comment #14 from Richard Russell richard@rtrussell.co.uk --- (In reply to comment #12)
Could I use SHCreateDirectory ?
Probably yes, although in Windows Vista and later, SHCreateDirectory has been replaced by SHCreateDirectoryEx; I don't know what the situation is in Wine.
My only concern would be what to supply as the 'hwnd' parameter. Maybe you should pass NULL when the FOF_SILENT flag is set and lpFileOp->hwnd if not?