blob: fd9b22a30a11f7f86990aa90d0092747268e9a5c [file] [log] [blame]
Alexandre Julliard2d93d001996-05-21 15:01:41 +00001/*
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
12typedef enum
13{
14 WIN_PROC_INVALID,
15 WIN_PROC_16,
16 WIN_PROC_32A,
17 WIN_PROC_32W
18} WINDOWPROCTYPE;
19
Alexandre Julliard3051b641996-07-05 17:14:13 +000020typedef void *HWINDOWPROC; /* Really a pointer to a WINDOWPROC */
21
22extern BOOL32 WINPROC_Init(void);
23extern WNDPROC16 WINPROC_GetProc( HWINDOWPROC proc, WINDOWPROCTYPE type );
24extern BOOL32 WINPROC_SetProc( HWINDOWPROC *pFirst, WNDPROC16 func,
25 WINDOWPROCTYPE type );
26extern void WINPROC_FreeProc( HWINDOWPROC proc );
27extern WINDOWPROCTYPE WINPROC_GetProcType( HWINDOWPROC proc );
Alexandre Julliard2d93d001996-05-21 15:01:41 +000028
29#endif /* __WINE_WINPROC_H */