Question

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.

Was it helpful?

Solution

It's present regardless of bitness.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top