atl: reuse code of AtlModuleRegisterWndClassInfoW for AtlModuleRegisterWndClassInfoA (try 2)

André Hentschel nerv at dawncrow.de
Tue May 25 10:58:45 CDT 2010


Am 25.05.2010 17:05, schrieb Andrey Turkin:
> 25.05.2010 18:51, André Hentschel wrote:
>> --- a/dlls/atl/atlwin.h
>> +++ b/dlls/atl/atlwin.h
>> @@ -43,7 +43,7 @@ typedef struct _ATL_WNDCLASSINFOW_TAG
>>       WCHAR m_szAutoName[14];
>>   } _ATL_WNDCLASSINFOW;
>>
>> -ATOM WINAPI AtlModuleRegisterWndClassInfoA(_ATL_MODULEW *pm,
>> _ATL_WNDCLASSINFOA *wci, WNDPROC *pProc);
>> +ATOM WINAPI AtlModuleRegisterWndClassInfoA(_ATL_MODULEA *pm,
>> _ATL_WNDCLASSINFOA *wci, WNDPROC *pProc);
>>   ATOM WINAPI AtlModuleRegisterWndClassInfoW(_ATL_MODULEW *pm,
>> _ATL_WNDCLASSINFOW *wci, WNDPROC *pProc);
>>
>>   HDC WINAPI AtlCreateTargetDC(HDC hdc, DVTARGETDEVICE *ptd);
>>    
> Are you sure about this change?
> 

95 percent. the unicode struct would not make much sense to me.

-- 

Best Regards, André Hentschel



More information about the wine-devel mailing list