static void main_vasink(wchar_t * data, ...){{va_list args;va_start(args, data);vwprintf(data, args);va_end(args);}}void _main(){wchar_t * data;void (*func_ptr) (wchar_t *, ...)=main_vasink;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}func_ptr(data, data);}
static void main_vasink(wchar_t * data, ...){{va_list args;va_start(args, data);vwprintf(data, args);va_end(args);}}static void main(){wchar_t * data;void (*func_ptr) (wchar_t *, ...)=main_vasink;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"fixedstringtest");func_ptr(data);}