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 df38986ce908fe123f51005a54b4bd334b1be20d..130ef04083a223f5f9f8fbc7d8194ff8fc50c85d 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( |