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® 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". https://source.winehq.org/source/dlls/krnl386.exe16/ne_module.c

Debug channel "module".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.