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
Can anybody help me write the function for Linux :
__declspec(naked) BOOL WINAPI
_InitCommonControlsEx(INITCOMMONCONTROLSEX* lpInitCtrls)
{
if(!dwLPA_InitCommonControlsEx)
{
__asm mov eax, 0
__asm ret 4
}
else
{
__asm jmp dwLPA_InitCommonControlsEx
}
}
May
On Tue, Nov 11, 2003 at 04:51:12PM +0300, flyker wrote:
Can anybody help me write the function for Linux :
__declspec(naked) BOOL WINAPI
_InitCommonControlsEx(INITCOMMONCONTROLSEX* lpInitCtrls)
{
if(!dwLPA_InitCommonControlsEx)
{
__asm mov eax, 0
__asm ret 4
}
Marcus Meissner wrote:
On Tue, Nov 11, 2003 at 04:51:12PM +0300, flyker wrote:
Can anybody help me write the function for Linux :
__declspec(naked) BOOL WINAPI
_InitCommonControlsEx(INITCOMMONCONTROLSEX* lpInitCtrls)
{
if(!dwLPA_InitCommonControlsEx)
{
__asm mov eax, 0
__asm