static HANDLE main_source(HANDLE data){data=CreateFile("BadSource_w32CreateFile.txt", (GENERIC_WRITE|GENERIC_READ), 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);CloseHandle(data);return data;}void _main(){HANDLE data;data=main_source(data);CloseHandle(data);}
static HANDLE main_source(HANDLE data){data=CreateFile("GoodSource_w32CreateFile.txt", (GENERIC_WRITE|GENERIC_READ), 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);return data;}static void main(){HANDLE data;data=main_source(data);CloseHandle(data);}