asm help

flyker flyker at everys.com
Wed Nov 12 02:50:23 CST 2003


> BOOL WINAPI
> _InitCommonControlsEx(WINGS_INITCOMMONCONTROLSEX* lpInitCtrls)
> {
>   if(!dwLPA_InitCommonControlsEx)
>   {
>    return FALSE;
>   } else {
>    return dwLPA_InitCommonControlsEx(lpInitCtrls);
>   }
> }
>
>
> The "jmp" is an optimization step, where the new function is called with
> the same parameters as the old one.
> I do agree with you about not using direct ASM->C conversions like this.
>
> --
> Shachar Shemesh
> Open Source integration consultant
> Home page & resume - http://www.shemesh.biz/
>

Ok, i understand, i got Access violation in
dwLPA_InitCommonControlsEx(lpInitCtrls);







More information about the wine-devel mailing list