Scroll to navigation

GetProcAddress(3w) Wine API GetProcAddress(3w)

NAME

GetProcAddress (KERNEL32.@)

SYNOPSIS

FARPROC GetProcAddress
(
HMODULE hModule,
LPCSTR function
)
 

DESCRIPTION

Find the address of an exported symbol in a loaded dll.
 

PARAMS

hModule [In] Handle to the dll returned by LoadLibraryA(3w).
function [In] Name of the symbol, or an integer ordinal number < 16384.
 

RETURNS

Success: A pointer to the symbol in the process address space.
Failure: NULL. Use GetLastError(3w) to determine the cause.
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/module.c".
Debug channel "module".
Oct 2012 Wine API