Tablefunction

OllyDbg Plugin API

Tablefunction

Default window function for all table windows, implements most of their functionality. Call it only as a reaction on received WM_xxx message. Return value depends on the message, it is safe to pass this value to the operating system. For standard table windows, always pass following messages to Tablefunction:

WM_DESTROY

WM_MOUSEMOVE

WM_LBUTTONDOWN

WM_LBUTTONDBLCLK

WM_LBUTTONUP

WM_RBUTTONDOWN

WM_RBUTTONDBLCLK

WM_HSCROLL

WM_VSCROLL

WM_TIMER (unprocessed messages only)

WM_KEYDOWN (unprocessed messages only)

WM_SYSKEYDOWN (unprocessed messages only)

WM_WINDOWPOSCHANGED (to support Always on top option)

Tablefunction also processes most of custom OllyDbg messages from standard table windows. Custom windows usually must process these messages by itself.

int Tablefunction(t_table *pt,HWND hw,UINT msg,WPARAM wParam,LPARAM lParam);

Parameters:

pt - pointer to descriptor of table window;

hw, msg, wParam, lParam - message parameters as received from Windows.

See also: Custom messages