LockResource16 in ole32.dll

Dmitry Timoshkov dmitry at baikal.ru
Sat Dec 6 07:00:09 CST 2003


"Casper Hornstrup" <chorns at users.sourceforge.net> wrote:

> I would like to have the call to the Win16 API LockResource16
> removed from ole32.dll. I guess there is a reason for it being
> LockResource16 and not LockResource. What is the reason?

Because LoadAcceleratorsA/W returns a value allocated by GlobalAlloc16.

> How can the call be removed?

Only if you or someone else can prove that under real windows
LoadAcceleratorsA/W behaves differently (taking into account
Win9x weirdness).

-- 
Dmitry.





More information about the wine-devel mailing list