$ 0 0 >And shlwapi is a HORRIBLE API In case you're wondering why: none of Path* functions has an argument for the buffer size.