comparison src/os_mswin.c @ 1199:3acf7c922a04

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 17:24:16 +0000
parents cc03a79fdbb9
children 82b5078be2dd
comparison
equal deleted inserted replaced
1198:721513ac52d0 1199:3acf7c922a04
2397 goto shortcut_error; 2397 goto shortcut_error;
2398 2398
2399 // full path string must be in Unicode. 2399 // full path string must be in Unicode.
2400 MultiByteToWideChar(CP_ACP, 0, fname, -1, wsz, MAX_PATH); 2400 MultiByteToWideChar(CP_ACP, 0, fname, -1, wsz, MAX_PATH);
2401 2401
2402 // "load" the name and resove the link 2402 // "load" the name and resolve the link
2403 hr = ppf->lpVtbl->Load(ppf, wsz, STGM_READ); 2403 hr = ppf->lpVtbl->Load(ppf, wsz, STGM_READ);
2404 if (hr != S_OK) 2404 if (hr != S_OK)
2405 goto shortcut_error; 2405 goto shortcut_error;
2406 #if 0 // This makes Vim wait a long time if the target doesn't exist. 2406 #if 0 // This makes Vim wait a long time if the target doesn't exist.
2407 hr = psl->lpVtbl->Resolve(psl, NULL, SLR_NO_UI); 2407 hr = psl->lpVtbl->Resolve(psl, NULL, SLR_NO_UI);