say, i've a binary called vlc.exe, if i rename it to abc.exe, it still runs fine. But if you see properties开发者_开发知识库 of abc.exe, you can see an attribute "Original FileName" and its value is vlc.exe. So, is there an api to get this "Original FileName"?
Thanks in advance.
See Version Information Functions on MSDN.
You'll need to GetFileVersionInfo
to get the version info data, then VerQueryValue
for the OriginalFilename
entry.
精彩评论