Home | History | Annotate | Download | only in common

Lines Matching defs:file

3 // found in the LICENSE file.
40 // user can select for different file types.
50 // To help windows decide if the downloaded file is dangerous we can provide
53 // Set the file itself as evidence.
68 // "windows found that this file is potentially harmful. To help protect
69 // your computer, Windows has blocked access to this file."
70 // Upon dismissal of the dialog windows will delete the file (!!).
90 HANDLE file = CreateFile(path.c_str(), GENERIC_WRITE, kShare, NULL,
92 if (INVALID_HANDLE_VALUE == file)
99 BOOL result = WriteFile(file, kIdentifier, kIdentifierSize, &written,
101 BOOL flush_result = FlushFileBuffers(file);
102 CloseHandle(file);