Domanda

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.

È stato utile?

Soluzione

It's present regardless of bitness.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top