On Fri, 5 Sep 2003, hatky wrote:
What sould I do?
- copy the entire DirectDrawEnumerateExA into it
- create a 3rd function DirectDrawEnumerateEx that
both of them will call 3. somthing else (you tell me)
It's not always the same answer. Most of the time, you do
3. xxxA converts its argumets to Unicode and calls xxxW There are plenty of examples in the tree how this is done, look for stuff using MultiByteToWideChar(). A good example is DrawTextExA/W in dlls/user/text.c
As for the 1 & 2 they are valid approaches sometimes, but it's best to stay away from them. For most cases 3 works fine.
Let us know if you need any help.