Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / base / win / iat_patch_function.h
index 3ae1f3c..b400841 100644 (file)
@@ -57,6 +57,9 @@ class BASE_EXPORT IATPatchFunction {
     return (NULL != intercept_function_);
   }
 
+  void* original_function() const;
+
+
  private:
   HMODULE module_handle_;
   void* intercept_function_;
@@ -66,6 +69,8 @@ class BASE_EXPORT IATPatchFunction {
   DISALLOW_COPY_AND_ASSIGN(IATPatchFunction);
 };
 
+BASE_EXPORT DWORD ModifyCode(void* old_code, void* new_code, int length);
+
 }  // namespace win
 }  // namespace base