|
|
ロングファイル名からショートファイル名の変換
Win95, WinNT3.5 or lator
|
(2003.09.18) |
static CString GetShortPathName(LPCTSTR szLongPath)
{
TCHAR szShortPath[_MAX_PATH];
DWORD dwResult = ::GetShortPathName(szLongPath, szShortPath, sizeof(szShortPath));
if (dwResult == 0)
{
return _T("");
}
return szShortPath;
}
|
|
 |
| © 2003 WAC.com All Right Reserved. |
 |
|