Reference

GetModuleHandleA(3w)

NAME

GetModuleHandleA (KERNEL32.@)

SYNOPSIS

HMODULE GetModuleHandleA
(
LPCSTR module
)

DESCRIPTION

Get the handle of a dll loaded into the process address space.

PARAMS

module [In] Name of the dll.

RETURNS

Success: A handle to the loaded dll.

Failure: A NULL handle. Use GetLastError(3w) to determine the cause.

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "module".

History