Lines Matching full:tfrom
2703 TCHAR *tfrom=NULL,*tto;
2709 tfrom = (TCHAR *)from;
2715 tfrom = (TCHAR *)malloc(sizeof(TCHAR)*(flen+tlen));
2716 if (tfrom==NULL) goto err;
2717 tto=tfrom+flen;
2719 if (!MultiByteToWideChar(CP_ACP,0,from,flen,(WCHAR *)tfrom,flen))
2721 for (i=0;i<flen;i++) tfrom[i]=(TCHAR)from[i];
2728 if (MoveFile(tfrom,tto)) goto ok;
2732 if (DeleteFile(tto) && MoveFile(tfrom,tto))
2745 if (tfrom!=NULL && tfrom!=(TCHAR *)from) free(tfrom);