typedef struct _NWS_WIN {
Sint32 style;
Sint32 wClass;
char*caption;
Sint32 font;
struct _NWS_WIN *parent;
struct _NWS_WIN *child;
struct _NWS_WIN *before;
struct _NWS_WIN *next;
Sint32 x, y;
Sint32 w, h;
NWS_RGBA col[4];
NWS_MSGHANDLE *msgHandle;
void *menuTable;
void *userBuf;
void (*clientDraw)(struct _NWS_WIN *NWFUNC);
void (*execFunc)(struct _NWS_WIN *NWFUNC);
void (*destructor)(struct _NWS_WIN* NWFUNC);
Sint32 param1, param2;
struct _NWS_WIN* hClose;
struct _NWS_WIN* hMaximize;
struct _NWS_WIN* hMinimize;
} NWS_WIN;
typedef NWS_WIN* NWHWND;