Split SHGetFileInfoW into two functions.