Home | History | Annotate | Download | only in apps

Lines Matching refs:tfrom

2784 	TCHAR  *tfrom=NULL,*tto;
2790 tfrom = (TCHAR *)from;
2796 tfrom = (TCHAR *)malloc(sizeof(TCHAR)*(flen+tlen));
2797 if (tfrom==NULL) goto err;
2798 tto=tfrom+flen;
2800 if (!MultiByteToWideChar(CP_ACP,0,from,flen,(WCHAR *)tfrom,flen))
2802 for (i=0;i<flen;i++) tfrom[i]=(TCHAR)from[i];
2809 if (MoveFile(tfrom,tto)) goto ok;
2813 if (DeleteFile(tto) && MoveFile(tfrom,tto))
2826 if (tfrom!=NULL && tfrom!=(TCHAR *)from) free(tfrom);