4 * Copyright 1996, 1997 Alexandre Julliard
5 * Copyright 1998 Ulrich Weigand
10 #include "wine/winuser16.h"
13 /* ### start build ### */
14 extern WORD CALLBACK
THUNK_CallTo16_word_wl (FARPROC16
,WORD
,LONG
);
15 extern WORD CALLBACK
THUNK_CallTo16_word_wlw (FARPROC16
,WORD
,LONG
,WORD
);
16 /* ### stop build ### */
19 /*******************************************************************
20 * EnumWindows16 (USER.54)
22 BOOL16 WINAPI
EnumWindows16( WNDENUMPROC16 func
, LPARAM lParam
)
24 DECL_THUNK( thunk
, func
, THUNK_CallTo16_word_wl
);
25 return EnumWindows( (WNDENUMPROC
)&thunk
, lParam
);
29 /**********************************************************************
30 * EnumChildWindows16 (USER.55)
32 BOOL16 WINAPI
EnumChildWindows16( HWND16 parent
, WNDENUMPROC16 func
, LPARAM lParam
)
34 DECL_THUNK( thunk
, func
, THUNK_CallTo16_word_wl
);
35 return EnumChildWindows( parent
, (WNDENUMPROC
)&thunk
, lParam
);
39 /**********************************************************************
40 * THUNK_EnumTaskWindows16 (USER.225)
42 BOOL16 WINAPI
THUNK_EnumTaskWindows16( HTASK16 hTask
, WNDENUMPROC16 func
,
45 DECL_THUNK( thunk
, func
, THUNK_CallTo16_word_wl
);
46 return EnumTaskWindows16( hTask
, (WNDENUMPROC16
)&thunk
, lParam
);
50 /***********************************************************************
51 * THUNK_EnumProps16 (USER.27)
53 INT16 WINAPI
THUNK_EnumProps16( HWND16 hwnd
, PROPENUMPROC16 func
)
55 DECL_THUNK( thunk
, func
, THUNK_CallTo16_word_wlw
);
56 return EnumProps16( hwnd
, (PROPENUMPROC16
)&thunk
);
60 /***********************************************************************
61 * THUNK_GrayString16 (USER.185)
63 BOOL16 WINAPI
THUNK_GrayString16( HDC16 hdc
, HBRUSH16 hbr
,
64 GRAYSTRINGPROC16 func
, LPARAM lParam
,
65 INT16 cch
, INT16 x
, INT16 y
,
68 DECL_THUNK( thunk
, func
, THUNK_CallTo16_word_wlw
);
70 return GrayString16( hdc
, hbr
, NULL
, lParam
, cch
, x
, y
, cx
, cy
);
72 return GrayString16( hdc
, hbr
, (GRAYSTRINGPROC16
)&thunk
, lParam
, cch
,