Scroll to navigation

WIN16_GetModuleHandle(3w) Wine API WIN16_GetModuleHandle(3w)

NAME

WIN16_GetModuleHandle (KRNL386.47)

SYNOPSIS

DWORD WIN16_GetModuleHandle
(
SEGPTR name
)
 

DESCRIPTION

Find a module from a module name.
NOTE: The current implementation works the same way the Windows(tm) 95 one does. Do not try to 'fix' it, fix the callers. + It does not do ANY extension handling (except that strange .EXE bit)! + It does not care about paths, just about basenames. (same as Windows).
 

RETURNS

LOWORD: the Win16 module handle if found 0 if not HIWORD (undocumented, see "Undocumented Windows", chapter 5): Always hFirstModule
 

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/krnl386.exe16/ne_module.c".
Debug channel "module".
Oct 2012 Wine API