NVDA Helper
In-process and lite high-speed utilities for NVDA
displayModelRemote.cpp File Reference
#include <string>
#include <map>
#include <windows.h>
#include <ole2.h>
#include <rpc.h>
#include <remote/displayModelRemote.h>
#include "gdiHooks.h"
#include <common/log.h>

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

BOOL CALLBACK EnumChildWindowsProc (HWND hwnd, LPARAM lParam)
 
error_status_t displayModelRemote_getWindowTextInRect (handle_t bindingHandle, const unsigned long windowHandle, const boolean includeDescendantWindows, const int left, const int top, const int right, const int bottom, const int minHorizontalWhitespace, const int minVerticalWhitespace, const boolean stripOuterWhitespace, BSTR *textBuf, BSTR *characterLocationsBuf)
 
error_status_t displayModelRemote_getFocusRect (handle_t bindingHandle, const unsigned long windowHandle, long *left, long *top, long *right, long *bottom)
 
error_status_t displayModelRemote_getCaretRect (handle_t bindingHandle, const long threadID, long *left, long *top, long *right, long *bottom)
 
error_status_t displayModelRemote_requestTextChangeNotificationsForWindow (handle_t bindingHandle, const unsigned long windowHandle, const BOOL enable)
 

Macro Definition Documentation

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Function Documentation

◆ EnumChildWindowsProc()

BOOL CALLBACK EnumChildWindowsProc ( HWND hwnd,
LPARAM lParam )

◆ displayModelRemote_getWindowTextInRect()

error_status_t displayModelRemote_getWindowTextInRect ( handle_t bindingHandle,
const unsigned long windowHandle,
const boolean includeDescendantWindows,
const int left,
const int top,
const int right,
const int bottom,
const int minHorizontalWhitespace,
const int minVerticalWhitespace,
const boolean stripOuterWhitespace,
BSTR * textBuf,
BSTR * characterLocationsBuf )

◆ displayModelRemote_getFocusRect()

error_status_t displayModelRemote_getFocusRect ( handle_t bindingHandle,
const unsigned long windowHandle,
long * left,
long * top,
long * right,
long * bottom )

◆ displayModelRemote_getCaretRect()

error_status_t displayModelRemote_getCaretRect ( handle_t bindingHandle,
const long threadID,
long * left,
long * top,
long * right,
long * bottom )

◆ displayModelRemote_requestTextChangeNotificationsForWindow()

error_status_t displayModelRemote_requestTextChangeNotificationsForWindow ( handle_t bindingHandle,
const unsigned long windowHandle,
const BOOL enable )