void _main(){{HANDLE hFile;char * filename="C:\\temp\\file.txt";hFile=CreateFileA( filename, FILE_ALL_ACCESS, FILE_SHARE_READ, NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL);if (hFile==INVALID_HANDLE_VALUE){printLine("File could not be created");}else{printLine("File created successfully");CloseHandle(hFile);}}}
static void main(){{HANDLE hFile;char * filename="C:\\temp\\file.txt";hFile=CreateFileA( filename, GENERIC_READ, FILE_SHARE_READ, NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL);if (hFile==INVALID_HANDLE_VALUE){printLine("File could not be created");}else{printLine("File created successfully");CloseHandle(hFile);}}}