I want some way to convert a path into a PIDL so I can pass it when calling SHBrowseForFolder(). SHSimpleIDListFromPath() seemed to do this but I get both an implicit declaration warning and a linker error when compiling. shlobj.h in my MinGW installation (latest version) does not seem to contain any prototype for it. I guess it's not implemented but not sure why.
http://msdn.microsoft.com/en-us/libr...54(VS.85).aspx says it's deprecated, but the alternative pointed out in the remarks section seems to be some C++ solution, but I'm writing C.