ショートファイル名からロングファイル名の変換

(2003.09.18)
    static CString GetLongPathName(LPCTSTR szShortPath)
    {
        TCHAR szLongPath[_MAX_PATH];
        DWORD dwResult = ::GetLongPathName(szShortPath, szLongPath, sizeof(szLongPath));
        if (dwResult == 0)
        {
            return _T("");
        }
 
        return szLongPath;
    }
一覧に戻る
© 2003 WAC.com All Right Reserved.