Home | History | Annotate | Download | only in lib

Lines Matching refs:tfrom

2702     TCHAR *tfrom = NULL, *tto;
2707 tfrom = (TCHAR *)from;
2712 tfrom = malloc(sizeof(*tfrom) * (flen + tlen));
2713 if (tfrom == NULL)
2715 tto = tfrom + flen;
2717 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen))
2720 tfrom[i] = (TCHAR)from[i];
2728 if (MoveFile(tfrom, tto))
2732 if (DeleteFile(tto) && MoveFile(tfrom, tto))
2745 if (tfrom != NULL && tfrom != (TCHAR *)from)
2746 free(tfrom);