Alexandre Julliard | 2d93d00 | 1996-05-21 15:01:41 +0000 | [diff] [blame] | 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 | |
Alexandre Julliard | 3051b64 | 1996-07-05 17:14:13 +0000 | [diff] [blame^] | 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 ); |
Alexandre Julliard | 2d93d00 | 1996-05-21 15:01:41 +0000 | [diff] [blame] | 28 | |
| 29 | #endif /* __WINE_WINPROC_H */ |