According to the documentation on MSDN, GetShortPathName is in KERNEL32.DLL

I have checked the MSDN documentation, however it is not clear to me whether this call is available in both Windows 64 and 32 bit version.

I can see:

FileAPI.h (include Windows.h);

WinBase.h on Windows Server 2008 R2, Windows 7, Windows Server 2008, 
Windows Vista, Windows Server 2003, and Windows XP (include Windows.h)

However the bit version is not mentioned there.

有帮助吗?

解决方案

It's present regardless of bitness.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top