Build the debugger as a .so.
[wine/multimedia.git] / include / dialog.h
blobbc92be9572d07a64ae48589cbbc1e26556ea3e04
1 /*
2 * Dialog definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef __WINE_DIALOG_H
8 #define __WINE_DIALOG_H
10 #include "winproc.h"
12 /* Dialog info structure.
13 * This structure is stored into the window extra bytes (cbWndExtra).
14 * sizeof(DIALOGINFO) must be <= DLGWINDOWEXTRA (=30).
17 #include "pshpack1.h"
19 typedef struct
21 INT msgResult; /* +00 Last message result */
22 HWINDOWPROC dlgProc; /* +04 Dialog procedure */
23 LONG userInfo; /* +08 User information (for DWL_USER) */
25 /* implementation-dependent part */
27 HWND16 hwndFocus; /* Current control with focus */
28 HFONT16 hUserFont; /* Dialog font */
29 HMENU16 hMenu; /* Dialog menu */
30 UINT16 xBaseUnit; /* Dialog units (depends on the font) */
31 UINT16 yBaseUnit;
32 INT idResult; /* EndDialog() result / default pushbutton ID */
33 UINT16 flags; /* EndDialog() called for this dialog */
34 HGLOBAL16 hDialogHeap;
35 } DIALOGINFO;
37 #include "poppack.h"
39 #define DF_END 0x0001
40 #define DF_OWNERENABLED 0x0002
42 extern BOOL DIALOG_Init(void);
44 #endif /* __WINE_DIALOG_H */