Index: app/win_util.h |
diff --git a/app/win_util.h b/app/win_util.h |
index 34c25869a97273f53d2d7dedfad2a6af1a9ff4ba..ab5cbc319f819fc51aba7c77fd292ebc69d62dd5 100644 |
--- a/app/win_util.h |
+++ b/app/win_util.h |
@@ -148,6 +148,10 @@ bool EdgeHasTopmostAutoHideTaskbar(UINT edge, HMONITOR monitor); |
// Returns the new valid handle if the function succeed. NULL otherwise. |
HANDLE GetSectionFromProcess(HANDLE section, HANDLE process, bool read_only); |
+// Duplicates a section handle from the current process for use in another |
+// process. Returns the new valid handle or NULL on failure. |
+HANDLE GetSectionForProcess(HANDLE section, HANDLE process, bool read_only); |
+ |
// Returns true if the specified window is the current active top window or one |
// of its children. |
bool DoesWindowBelongToActiveWindow(HWND window); |