NVDA Helper
In-process and lite high-speed utilities for NVDA
|
#include <windows.h>
Go to the source code of this file.
Functions | |
BOOL | injection_initialize () |
Initializes nvdaHelperRemote, and allows it to inject in to processes. | |
BOOL | injection_terminate () |
Terminates nvdaHelperRemote, allowing it to uninject from any processes. | |
bool | registerWinEventHook (WINEVENTPROC hookProc) |
Registers a callback function to be called with in future win events for this process. | |
bool | unregisterWinEventHook (WINEVENTPROC hookProc) |
Unregisters a previously registered callback function for a win event for this process. | |
bool | registerWindowsHook (int hookType, HOOKPROC hookProc) |
Registers a callback function to be called with in future windows hooks fired for this process. | |
bool | unregisterWindowsHook (int hookType, HOOKPROC hookProc) |
Unregisters a previously registered callback function for a windows hook for this process. | |
void | log_flushQueue () |
Variables | |
HANDLE | inprocMgrThreadHandle |
BOOL injection_initialize | ( | ) |
Initializes nvdaHelperRemote, and allows it to inject in to processes.
Initializes nvdaHelperRemote, and allows it to inject in to processes.
References dllHandle, nhAssert, outprocInitialized, outprocMgrThreadFunc(), outprocMgrThreadHandle, and outprocMgrThreadID.
Referenced by WinMain().
BOOL injection_terminate | ( | ) |
Terminates nvdaHelperRemote, allowing it to uninject from any processes.
References outprocInitialized, outprocMgrThreadHandle, and outprocMgrThreadID.
Referenced by WinMain().
bool registerWinEventHook | ( | WINEVENTPROC | hookProc | ) |
Registers a callback function to be called with in future win events for this process.
procHook | the callback function which should be called |
References inProcess_registeredWinEventHooks.
Referenced by ia2LiveRegions_inProcess_initialize(), IA2Support_inProcess_initialize(), AdobeAcrobatVBufBackend_t::renderThread_initialize(), GeckoVBufBackend_t::renderThread_initialize(), lotusNotesRichTextVBufBackend_t::renderThread_initialize(), VBufBackend_t::renderThread_initialize(), WebKitVBufBackend_t::renderThread_initialize(), and TSF_inProcess_initialize().
bool unregisterWinEventHook | ( | WINEVENTPROC | hookProc | ) |
Unregisters a previously registered callback function for a win event for this process.
It may be possible for the winEvent hook to fire one more time after unregistration if the unregistration happens within a winEvent hook.
hookProc | the callback function to be unregistered |
References inProcess_registeredWinEventHooks, and nhAssert.
Referenced by ia2LiveRegions_inProcess_terminate(), IA2Support_inProcess_terminate(), AdobeAcrobatVBufBackend_t::renderThread_terminate(), GeckoVBufBackend_t::renderThread_terminate(), lotusNotesRichTextVBufBackend_t::renderThread_terminate(), VBufBackend_t::renderThread_terminate(), WebKitVBufBackend_t::renderThread_terminate(), and TSF_inProcess_terminate().
bool registerWindowsHook | ( | int | hookType, |
HOOKPROC | hookProc ) |
Registers a callback function to be called with in future windows hooks fired for this process.
hookType | the type of windows hook (WH_CALLWNDPROC, WH_GETMESSAGE) |
procHook | the callback function which should be called |
References inProcess_registeredCallWndProcWindowsHooks, and inProcess_registeredGetMessageWindowsHooks.
Referenced by IA2Support_inProcess_terminate(), IME_inProcess_initialize(), VBufBackend_t::initialize(), inputLangChange_inProcess_initialize(), typedCharacter_inProcess_initialize(), and winword_inProcess_initialize().
bool unregisterWindowsHook | ( | int | hookType, |
HOOKPROC | hookProc ) |
Unregisters a previously registered callback function for a windows hook for this process.
It may be possible for the windows hook to fire one more time after unregistration if the unregistration happens within a windows hook.
hookType | the type of windows hook |
hookProc | the callback function to be unregistered |
References inProcess_registeredCallWndProcWindowsHooks, inProcess_registeredGetMessageWindowsHooks, and nhAssert.
Referenced by IA2Support_inProcess_terminate(), IME_inProcess_terminate(), inputLangChange_inProcess_terminate(), VBufBackend_t::terminate(), typedCharacter_inProcess_terminate(), and winword_inProcess_terminate().
void log_flushQueue | ( | ) |
References inprocMgrThreadHandle, log_flushQueue_apcFunc(), logQueue, logQueueLock, and nvdaControllerInternal_logMessage().
Referenced by inprocMgrThreadFunc(), log_flushQueue_apcFunc(), and logMessage().
|
extern |