Alexandre Julliard : user32: Add a thunking mechanism for 16-bit edit word break procedures.
Eric Pouech
eric.pouech at orange.fr
Thu Dec 17 14:09:07 CST 2009
Alexandre Julliard a écrit :
> Eric Pouech <eric.pouech at orange.fr> writes:
>
>
>> Alexandre Julliard a écrit :
>>
>>> Module: wine
>>> Branch: master
>>> Commit: dcec342b50524562844f64d43d423ed2c83c1f97
>>> URL: http://source.winehq.org/git/wine.git/?a=commit;h=dcec342b50524562844f64d43d423ed2c83c1f97
>>>
>>> Author: Alexandre Julliard <julliard at winehq.org>
>>> Date: Fri Dec 11 14:52:28 2009 +0100
>>>
>>> user32: Add a thunking mechanism for 16-bit edit word break procedures.
>>>
>>>
>>>
>>>
>> Alexandre,
>> shouldn't the thunk be released in EDIT_WM_NCDestroy upon EDITSTATE
>> destruction ?
>>
>
> No, the thunks are associated to a function, not to a window, so they
> never get freed. It's the same idea as for the winproc thunks.
>
>
do you recommend this way of doing being the recommanded way for all the
thunks which have been recently added
ie assuming the app will only provide a limited number of functions
being passed to the thunks, rather than trying to allocate/free the
thunks when possible ?
--
Eric Pouech
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)
More information about the wine-devel
mailing list