WIN_PROC_32W
} WINDOWPROCTYPE;
-typedef enum
-{
- WIN_PROC_CLASS,
- WIN_PROC_WINDOW,
- WIN_PROC_TIMER
-} WINDOWPROCUSER;
-
typedef struct
{
WPARAM16 wParam;
struct tagWINDOWPROC;
extern WNDPROC16 WINPROC_GetProc( WNDPROC proc, WINDOWPROCTYPE type );
-extern BOOL WINPROC_SetProc( WNDPROC *pFirst, WNDPROC func,
- WINDOWPROCTYPE type, WINDOWPROCUSER user );
-extern void WINPROC_FreeProc( WNDPROC proc, WINDOWPROCUSER user );
+extern WNDPROC WINPROC_AllocProc( WNDPROC func, WINDOWPROCTYPE type );
extern WINDOWPROCTYPE WINPROC_GetProcType( WNDPROC proc );
extern INT WINPROC_MapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM *pwparam,
WPARAM wParam32, UINT16 *pmsg16,
WPARAM16 *pwparam16, LPARAM *plparam );
extern LRESULT WINPROC_UnmapMsg32ATo32W( HWND hwnd, UINT msg, WPARAM wParam,
- LPARAM lParam, LRESULT result );
+ LPARAM lParam, LRESULT result,
+ WNDPROC dispatch );
extern LRESULT WINPROC_UnmapMsg16To32A( HWND hwnd, UINT msg, WPARAM wParam,
LPARAM lParam, LRESULT result );
extern LRESULT WINPROC_UnmapMsg16To32W( HWND hwnd, UINT msg, WPARAM wParam,
- LPARAM lParam, LRESULT result );
+ LPARAM lParam, LRESULT result,
+ WNDPROC dispatch );
extern void WINPROC_UnmapMsg32ATo16( HWND hwnd, UINT msg, WPARAM wParam,
LPARAM lParam, MSGPARAM16* pm16 );
extern void WINPROC_UnmapMsg32WTo16( HWND hwnd, UINT msg, WPARAM wParam,
extern void CLASS_AddWindow( struct tagCLASS *class, struct tagWND *win, WINDOWPROCTYPE type );
extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
-/* Timer functions */
-extern void TIMER_RemoveWindowTimers( HWND hwnd );
-extern void TIMER_RemoveThreadTimers(void);
-extern BOOL TIMER_IsTimerValid( HWND hwnd, UINT_PTR id, WNDPROC proc );
-
#endif /* __WINE_WINPROC_H */