Search code examples
windowswin32comwin32-process

Is Short File Name us available in both Windows 64 and Windows32


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.


Solution

  • It's present regardless of bitness.