Lines Matching refs:tfrom
2636 TCHAR *tfrom = NULL, *tto;
2641 tfrom = (TCHAR *)from;
2646 tfrom = malloc(sizeof(*tfrom) * (flen + tlen));
2647 if (tfrom == NULL)
2649 tto = tfrom + flen;
2651 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen))
2654 tfrom[i] = (TCHAR)from[i];
2662 if (MoveFile(tfrom, tto))
2666 if (DeleteFile(tto) && MoveFile(tfrom, tto))
2679 if (tfrom != NULL && tfrom != (TCHAR *)from)
2680 free(tfrom);