If the PSAPI_VERSION macro is not set to 1 when using GetProcessImageFileName, it will attempt to import it as K32GetProcessImageFileName from kernel32.dll instead of psapi.dll, which breaks compatibility with vista and xp.