comparison src/event-msw.c @ 588:ed8e2ee8d29d

[xemacs-hg @ 2001-05-31 00:30:39 by kkm] My 2 patches of 05/24/01
author kkm
date Thu, 31 May 2001 00:30:41 +0000
parents 183866b06e0b
children 5fd7ba8b56e7
comparison
equal deleted inserted replaced
587:28e2f03164f1 588:ed8e2ee8d29d
2960 IPersistFile* ppf; 2960 IPersistFile* ppf;
2961 2961
2962 if (psl->lpVtbl->QueryInterface (psl, &IID_IPersistFile, 2962 if (psl->lpVtbl->QueryInterface (psl, &IID_IPersistFile,
2963 &ppf) == S_OK) 2963 &ppf) == S_OK)
2964 { 2964 {
2965 WORD wsz[PATH_MAX]; 2965 OLECHAR wsz[PATH_MAX];
2966 WIN32_FIND_DATA wfd; 2966 WIN32_FIND_DATA wfd;
2967 LPSTR resolved = (char *) xmalloc (PATH_MAX+1); 2967 LPSTR resolved = (char *) xmalloc (PATH_MAX+1);
2968 2968
2969 MultiByteToWideChar (CP_ACP,0, fname, -1, wsz, PATH_MAX); 2969 MultiByteToWideChar (CP_ACP,0, fname, -1, wsz, PATH_MAX);
2970 2970