NE_MODULE.stack_size was set to a ridiculously small value of 5.
[wine/multimedia.git] / include / header.h
blobdf6e0e5e40c7e935e0299d67ee710f1cc3ae9787
1 /*
2 * Header window definitions
4 * Copyright 1998 Eric Kohl
6 */
8 #ifndef __WINE_HEADER_H_
9 #define __WINE_HEADER_H_
11 typedef struct
13 INT32 cxy;
14 HBITMAP32 hbm;
15 LPWSTR pszText;
16 INT32 fmt;
17 LPARAM lParam;
18 INT32 iImage;
19 INT32 iOrder; /* see documentation of HD_ITEM */
21 BOOL32 bDown; /* is item pressed? (used for drawing) */
22 RECT32 rect; /* bounding rectangle of the item */
23 } HEADER_ITEM;
26 typedef struct
28 UINT32 uNumItem; /* number of items (columns) */
29 INT32 nHeight; /* height of the header (pixels) */
30 HFONT32 hFont; /* handle to the current font */
31 HCURSOR32 hcurArrow; /* handle to the arrow cursor */
32 HCURSOR32 hcurDivider; /* handle to a cursor (used over dividers) <-|-> */
33 HCURSOR32 hcurDivopen; /* handle to a cursor (used over dividers) <-||-> */
34 BOOL32 bCaptured; /* Is the mouse captured? */
35 BOOL32 bPressed; /* Is a header item pressed (down)? */
36 BOOL32 bTracking; /* Is in tracking mode? */
37 BOOL32 bUnicode; /* Unicode flag */
38 INT32 iMoveItem; /* index of tracked item. (Tracking mode) */
39 INT32 xTrackOffset; /* distance between the right side of the tracked item and the cursor */
40 INT32 xOldTrack; /* track offset (see above) after the last WM_MOUSEMOVE */
41 INT32 nOldWidth; /* width of a sizing item after the last WM_MOUSEMOVE */
42 INT32 iHotItem; /* index of hot item (cursor is over this item) */
44 HIMAGELIST himl; /* handle to a image list (may be 0) */
45 HEADER_ITEM *items; /* pointer to array of HEADER_ITEM's */
46 LPINT32 pOrder; /* pointer to order array */
47 } HEADER_INFO;
50 extern VOID HEADER_Register (VOID);
51 extern VOID HEADER_Unregister (VOID);
53 #endif /* __WINE_HEADER_H_ */