WIN16_GetModuleHandle.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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 defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/kernel32/ne_module.c".

Debug channel "module".