Indirect Query Functions
These functions allow you to set up a "watch handle" on a specific window. The visible area of the window will be tracked and the user can query or be notified if the state changes.
Note The direct functions are very fast and should be good enough for general use except for "real time" usage.
HWINWATCH WinWatchOpen(HWND hwnd);
Sets up a window for clip "watching"
RETURNS
Returns a HANDLE to identify the instance. This handle must be passed to subsequent WinWatch calls. If you no longer require real time clipping information for the window, you must call WinWatchClose with the handle.
You cannot change the window being watched on without opening a new handle.
void WinWatchClose(HWINWATCH hWW)
Destroys a WinWatch handle.