int TestFreeRDPCodecProgressive(int argc, char* argv[]) { char* ms_sample_path; char name[8192]; SYSTEMTIME systemTime; WINPR_UNUSED(argc); WINPR_UNUSED(argv); GetSystemTime(&systemTime); sprintf_s(name, sizeof(name), "EGFX_PROGRESSIVE_MS_SAMPLE-%04"PRIu16"%02"PRIu16"%02"PRIu16"%02"PRIu16"%02"PRIu16"%02"PRIu16"%04"PRIu16, systemTime.wYear, systemTime.wMonth, systemTime.wDay, systemTime.wHour, systemTime.wMinute, systemTime.wSecond, systemTime.wMilliseconds); ms_sample_path = GetKnownSubPath(KNOWN_PATH_TEMP, name); if (!ms_sample_path) { printf("Memory allocation failed\n"); return -1; } if (PathFileExistsA(ms_sample_path)) return test_progressive_ms_sample(ms_sample_path); free(ms_sample_path); return 0; }
int TestFreeRDPCodecProgressive(int argc, char* argv[]) { char* ms_sample_path; ms_sample_path = _strdup("/tmp/EGFX_PROGRESSIVE_MS_SAMPLE"); if (PathFileExistsA(ms_sample_path)) return test_progressive_ms_sample(ms_sample_path); free(ms_sample_path); return 0; }
int TestFreeRDPCodecProgressive(int argc, char* argv[]) { char* ms_sample_path; ms_sample_path = GetKnownSubPath(KNOWN_PATH_TEMP, "EGFX_PROGRESSIVE_MS_SAMPLE"); if (!ms_sample_path) { printf("Memory allocation failed\n"); return -1; } if (PathFileExistsA(ms_sample_path)) return test_progressive_ms_sample(ms_sample_path); free(ms_sample_path); return 0; }