32-->16 Calls: loader/ne/resource.c: krnl386.exe & kernel32: NE_DefResourceHandler: illegal call to AllocResource16
Dimitrie O. Paun
dpaun at rogers.com
Sun Feb 2 19:56:59 CST 2003
On February 2, 2003 08:06 pm, Andrew Hughes wrote:
> HGLOBAL16 WINAPI NE_DefResourceHandler( HGLOBAL16 hMemObj, HMODULE16
> hModule, HRSRC16 hRsrc )
> Given the above signature for this function, its abundant use of 16-bit
> calls (AllocResource16, GlobalLock16, GlobalRealloc16 - twice for the last
> two), and the fact that the NE stuff deals with Win16 executables, is this
> really a 32-bit function? Does it need conversion?
It does seem to be a 16 bit function. I think we should rename it to
It would be nice if a function ends in 16 if and only if it's a 16-bit
function. That makes tools (and greps) easy to write.
More information about the wine-devel