Get rid of W->A calls

hatky hatkyinc at yahoo.com
Fri Sep 5 08:41:33 CDT 2003


Janitorial reporting ;-)

In the Get rid of W->A calls task,
Say I try
dlls/ddraw/main.c: ddraw: DirectDrawEnumerateExW:
illegal call to DirectDrawEnumerateExA

The misbheaving function is :

HRESULT WINAPI DirectDrawEnumerateExW(
  LPDDENUMCALLBACKEXW lpCallback, LPVOID lpContext,
DWORD dwFlags)
{
    DirectDrawEnumerateProcData epd;
    epd.lpCallback = (LPVOID) lpCallback;
    epd.lpContext = lpContext;

    return
DirectDrawEnumerateExA(DirectDrawEnumerateExProcW,
(LPVOID) &epd, 0);
}

What sould I do?
1. copy the entire DirectDrawEnumerateExA into it
2. create a 3rd function DirectDrawEnumerateEx that
both of them will call
3. somthing else (you tell me)

Hatky.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the wine-devel mailing list