Windows short/long path in C/C++

A Windows short path can be converted to long path and vice versa using the Windows C library as in this standalone, single source file example.