Embedded browser interface.
More...
#include <ui_hook_interface.h>
Embedded browser interface.
Definition at line 44 of file ui_hook_interface.h.
◆ MonitorWnd()
virtual SDKError IUIHooker::MonitorWnd |
( |
const zchar_t * | classname, |
|
|
bool | bAdd = true ) |
|
pure virtual |
Add or remove the windows to be hooked.
- Parameters
-
classname | Get the value of the windows class name to be hooked or unhooked via windows API GetClassName(). |
bAdd | TRUE indicates to add. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ MonitorWndMessage()
virtual SDKError IUIHooker::MonitorWndMessage |
( |
unsigned int | wndmsgid, |
|
|
bool | bAdd = true ) |
|
pure virtual |
Add or remove the windows message to be hooked.
- Parameters
-
wndmsgid | Specify the windows message ID, such as WM_CREATE. |
bAdd | TRUE indicates to add. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetEvent()
Set UI Hooker callback event handler.
- Parameters
-
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ Start()
Start hooking.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ Stop()
Stop hooking.
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
- Note
- Calling the function does not clean up the hook list in the SDK. Remove the message or windows that you do not want to hook next time via MonitorWndMessage() or MonitorWnd().