comparison src/intl-auto-encap-win32.c @ 1684:fba0799e2d79

[xemacs-hg @ 2003-09-15 20:21:44 by james] Remove references to GetLongPathNameW since old Windows doesn't have it and we aren't using it anyway.
author james
date Mon, 15 Sep 2003 20:21:47 +0000
parents 184461bc8de4
children ecf1ebac70d8
comparison
equal deleted inserted replaced
1683:74353ce403ce 1684:fba0799e2d79
2569 return GetShortPathNameW ((LPCWSTR) lpszLongPath, (LPWSTR) lpszShortPath, cchBuffer); 2569 return GetShortPathNameW ((LPCWSTR) lpszLongPath, (LPWSTR) lpszShortPath, cchBuffer);
2570 else 2570 else
2571 return GetShortPathNameA ((LPCSTR) lpszLongPath, (LPSTR) lpszShortPath, cchBuffer); 2571 return GetShortPathNameA ((LPCSTR) lpszLongPath, (LPSTR) lpszShortPath, cchBuffer);
2572 } 2572 }
2573 2573
2574 DWORD 2574 /* Error if GetLongPathName used: Win98/2K+ only */
2575 qxeGetLongPathName (const Extbyte * lpszShortPath, Extbyte * lpszLongPath, DWORD cchBuffer)
2576 {
2577 if (XEUNICODE_P)
2578 return GetLongPathNameW ((LPCWSTR) lpszShortPath, (LPWSTR) lpszLongPath, cchBuffer);
2579 else
2580 return GetLongPathNameA ((LPCSTR) lpszShortPath, (LPSTR) lpszLongPath, cchBuffer);
2581 }
2582 2575
2583 /* Skipping GetEnvironmentStrings because misnamed ANSI version of the function */ 2576 /* Skipping GetEnvironmentStrings because misnamed ANSI version of the function */
2584 2577
2585 BOOL 2578 BOOL
2586 qxeFreeEnvironmentStrings (Extbyte * arg1) 2579 qxeFreeEnvironmentStrings (Extbyte * arg1)