Removed check for union semun; cleaned up a bit.
[wine/multimedia.git] / include / scroll.h
blob9c7f88edda31517629c88c7aff8c4c76b5b1c627
1 /*
2 * Scroll-bar class extra info
4 * Copyright 1993 Martin Ayotte
5 * Copyright 1994 Alexandre Julliard
6 */
8 #ifndef __WINE_SCROLL_H
9 #define __WINE_SCROLL_H
11 #include "windef.h"
13 typedef struct
15 INT CurVal; /* Current scroll-bar value */
16 INT MinVal; /* Minimum scroll-bar value */
17 INT MaxVal; /* Maximum scroll-bar value */
18 INT Page; /* Page size of scroll bar (Win32) */
19 UINT flags; /* EnableScrollBar flags */
20 } SCROLLBAR_INFO;
22 extern LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT uMsg,
23 WPARAM wParam, LPARAM lParam );
24 extern void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar,
25 BOOL arrows, BOOL interior );
26 extern void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar,
27 UINT msg, POINT pt );
29 #endif /* __WINE_SCROLL_H */