Release 960705
[wine] / include / winproc.h
1 /*
2  * Window procedure callbacks definitions
3  *
4  * Copyright 1996 Alexandre Julliard
5  */
6
7 #ifndef __WINE_WINPROC_H
8 #define __WINE_WINPROC_H
9
10 #include "wintypes.h"
11
12 typedef enum
13 {
14     WIN_PROC_INVALID,
15     WIN_PROC_16,
16     WIN_PROC_32A,
17     WIN_PROC_32W
18 } WINDOWPROCTYPE;
19
20 typedef void *HWINDOWPROC;  /* Really a pointer to a WINDOWPROC */
21
22 extern BOOL32 WINPROC_Init(void);
23 extern WNDPROC16 WINPROC_GetProc( HWINDOWPROC proc, WINDOWPROCTYPE type );
24 extern BOOL32 WINPROC_SetProc( HWINDOWPROC *pFirst, WNDPROC16 func,
25                                WINDOWPROCTYPE type );
26 extern void WINPROC_FreeProc( HWINDOWPROC proc );
27 extern WINDOWPROCTYPE WINPROC_GetProcType( HWINDOWPROC proc );
28
29 #endif  /* __WINE_WINPROC_H */