Createtablewindow
HWND Createtablewindow(t_table *pt,int nrow,int ncolumn,HINSTANCE hi,wchar_t *icon,wchar_t *title);
Creates new table window and all necessary child windows. Initially, table will display nrow rows and at most ncolumn data columns, and will use icon defined by the pair (hi,icon).
Table window consists of:
- parent table window hparent (either standalone or MDI, depending on the global OllyDbg settings)
- child table window hw displaying data
- optional status bar hstatus at the bottom of the parent window
- optional tooltip window htooltip, responsible for displaying tooltips
Additionally, table window may contain several controls created by calls to Createtablechild(). OllyDbg doesn't use this feature yet.
To create embedded tables, use Createottablewindow().
Parameters:
pt
(in,out) Pointer to the table descriptor, a structure of type t_table
nrow
(in) Suggested
number of rows displayed in the table window, or 0 for default value.
Real number of rows may differ (for example, may be restored from the
appearance data saved to the initialization file)
ncolumn
(in) Suggested number of columns displayed in the table window. If number of columns specified in pt is larger, remaining columns will lie outside the visible area. Real number of columns may differ (for example, may be restored from the appearance data saved to the initialization file)
hi
(in) Instance of the module containing icon. NULL means main module (ollydbg.exe). Note that the instance of the main module is also available directly as exported variable hollyinst
icon
(in) Icon assigned to the window. To use predefined OllyDbg icons, set hi to NULL (or hollyinst) and icon
to one of the following UNICODE strings: ICO_B, ICO_C, ICO_D, ICO_E,
ICO_H, ICO_L, ICO_M, ICO_N, ICO_P, ICO_R, ICO_S, ICO_T, ICO_W, ICO_QUEST
title
(in) Title of the table window
Return
values:
On success, returns handle of the parent table window. On error, returns NULL
See
also: