Index: chrome_elf/create_file/chrome_create_file.h |
diff --git a/chrome_elf/create_file/chrome_create_file.h b/chrome_elf/create_file/chrome_create_file.h |
index dac93af072dcd100b8b17cb7a3143dbceb055c9f..f9f15c356348155c3cccfcef47a203435a5e927a 100644 |
--- a/chrome_elf/create_file/chrome_create_file.h |
+++ b/chrome_elf/create_file/chrome_create_file.h |
@@ -20,6 +20,9 @@ extern "C" HANDLE WINAPI CreateFileWRedirect( |
DWORD flags_and_attributes, |
HANDLE template_file); |
+// Returns the count of CreateFile calls redirected so far. |
+extern "C" int GetRedirectCount(); |
+ |
// Partial reimplementation of kernel32!CreateFile (very partial: only handles |
// reading and writing to files in the User Data directory). |
HANDLE CreateFileNTDLL( |