[2/2] ddraw: Rename IDirectDraw functions (try 2)

Christian Costa titan.costa at wanadoo.fr
Sun Jun 1 07:24:15 CDT 2008


Stefan Dösinger a écrit :
> Am Sonntag, 1. Juni 2008 00:13:22 schrieb Christian Costa:
>   
>> Hi Michael,
>>
>> I think it would be better to fix function names in IDirectDraw7.
>>     
> The IDirectDraw7 functions are without a version number because they're the 
> common implementation for all ddraw versions. If there's a specific function 
> for IDirectDraw7 that is not called by older versions via thunk due to 
> behavior differences, it is already called IDirectDraw7Impl_XYZ
>
>
>   
The problem is that makes the confusion with version 1 even with 
Mickael's patch.
In Direct3D thunks, we avoided that by moving the number after the impl, 
setting the version 1 explicitely
and prefixing by Thunks (ex: Thunk_IDirect3DDeviceImpl_1_xxx).
So I suggest to use the same naming scheme.

Christian





More information about the wine-devel mailing list