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

Declared in "include/wine/test.h". gitlab.winehq.org/wine/wine/blob/master/include/wine/test.h

Implemented in "dlls/krnl386.exe16/ne_module.c". gitlab.winehq.org/wine/wine/blob/master/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 Dec 2024.