ZOOM Windows SDK  5.2.41727.0928
Public Member Functions | List of all members
IUIHooker Class Referenceabstract

Embedded browser interface. More...

#include <ui_hook_interface.h>

Public Member Functions

virtual SDKError SetEvent (IUIHookerEvent *pEvent)=0
 Set UI Hooker callback event handler. More...
 
virtual SDKError MonitorWndMessage (unsigned int wndmsgid, bool bAdd=true)=0
 Add or remove the windows message to be hooked. More...
 
virtual SDKError MonitorWnd (const wchar_t *classname, bool bAdd=true)=0
 Add or remove the windows to be hooked. More...
 
virtual SDKError Start ()=0
 Start hooking. More...
 
virtual SDKError Stop ()=0
 Stop hooking. More...
 

Detailed Description

Embedded browser interface.

Member Function Documentation

◆ MonitorWnd()

virtual SDKError IUIHooker::MonitorWnd ( const wchar_t *  classname,
bool  bAdd = true 
)
pure virtual

Add or remove the windows to be hooked.

Parameters
classnameGet the value of the windows class name to be hooked or unhooked via windows API GetClassName().
bAddTRUE 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
wndmsgidSpecify the windows message ID, such as WM_CREATE.
bAddTRUE 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()

virtual SDKError IUIHooker::SetEvent ( IUIHookerEvent pEvent)
pure virtual

Set UI Hooker callback event handler.

Parameters
pEventA pointer to the IUIHookerEvent that receives UI hooker event.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ Start()

virtual SDKError IUIHooker::Start ( )
pure virtual

Start hooking.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.

◆ Stop()

virtual SDKError IUIHooker::Stop ( )
pure virtual

Stop hooking.

Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
Remarks
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().

The documentation for this class was generated from the following file: