Defines |
#define | UNIGEEZLIBAPI __declspec(dllexport) |
#define | wparam newMsg->wParam |
#define | msg newMsg->message |
Functions |
BOOL CALLBACK | LibMain (HANDLE hModule, DWORD dwReason, LPVOID lpReserved) |
LRESULT CALLBACK | MsgFilterFunc (int nCode, WPARAM wParam, LPARAM lParam ) |
LRESULT CALLBACK | CBTFilterFunc (int nCode, WPARAM wParam, LPARAM lParam ) |
int CALLBACK | InitHooksDll (const HWND hwndMainWindow, char _appName[][MAX_CH], char _format[][MAX_CH], const int _howmany) |
| appName, format, & howmany are read into shared memory.
|
int CALLBACK | setFontSize (const int size, HWND hDlg) |
| sets the current font size.
|
HMODULE | ModuleFromAddress (PVOID pv) |
| returns the HMODULE that contains the specified memory address.
|
BOOL WINAPI | InstallFilter (INT nCode) |
| Install / Remove Filter function.
|
LRESULT CALLBACK | MsgFilterFunc (INT nCode, WPARAM wParam, LPARAM lParam) |
| global for this function and the next.
|
LRESULT CALLBACK | CBTFilterFunc (INT nCode, WPARAM wParam, LPARAM lParam) |
| Filter function for the WH_CBT hook. More...
|
Variables |
HANDLE | hInstance |
BOOL | InitCalled = FALSE |
| DLL instance handle.
|
BOOL | hookState = FALSE |
| whether the hook is installed.
|
FARPROC | msgHookProc = { (FARPROC) MsgFilterFunc } |
| state of hooks.
|
FARPROC | cbtHookProc = { (FARPROC) CBTFilterFunc } |
| address for msg filter function.
|
bool | ExcelMode = false |
| address for CBT filter function.
|
HWND | hwndUniGeez = NULL |
| are we in Excel?? Shared DATA set up between UniGeez and the injected dll only one per instance of the UniGeez interface.
|
HHOOK | hMsgHook = NULL |
| main handle from UniGeez Transliterator.
|
HHOOK | hCBTHook = NULL |
| handle to the installed WH_GETMESSAGE hook.
|
HWND | hCurrent = NULL |
| handle to the installed WH_CBT hook.
|
HWND | hFontDlg = NULL |
bool | useRtf = false |
| handle to dialog box in UniGeez (not used) determines what format is to be used.
|
bool | useHtml = false |
bool | useUnicode = true |
int | howmany = 0 |
int | fs = 12 |
bool | oneTimeReadFile = true |
| used to determine font size format info read in from UniGeez userinterface window.
|
const int | MAX_APPS = 100 |
const int | MAX_CHARS = 80 |
char | appName [MAX_APPS][MAX_CHARS] = {"\0"} |
char | format [MAX_APPS][MAX_CHARS] = {"\0"} |
struct NTandWord | NTandWord |
| Filter function for the WH_GETMESSAGE. More...
|