Lines Matching refs:output
12 // "output" is the stream for the logging.
13 void TryOpenFile(const wchar_t *path, FILE *output) {
17 fprintf(output, "[ERROR] Cannot expand \"%S\". Error %ld.\r\n", path,
31 fprintf(output, "[GRANTED] Opening file \"%S\". Handle 0x%p\r\n", path,
35 fprintf(output, "[BLOCKED] Opening file \"%S\". Error %ld.\r\n", path,
42 FILE *output = handle2file.Translate(log, "w");
44 TryOpenFile(L"%SystemDrive%", output);
45 TryOpenFile(L"%SystemRoot%", output);
46 TryOpenFile(L"%ProgramFiles%", output);
47 TryOpenFile(L"%SystemRoot%\\System32", output);
48 TryOpenFile(L"%SystemRoot%\\explorer.exe", output);
49 TryOpenFile(L"%SystemRoot%\\Cursors\\arrow_i.cur", output);
50 TryOpenFile(L"%AllUsersProfile%", output);
51 TryOpenFile(L"%UserProfile%", output);
52 TryOpenFile(L"%Temp%", output);
53 TryOpenFile(L"%AppData%", output);