sourCEntral - mobile manpages

pdf

GetProcAddress

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

Defined in "kernel16_private.h".

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

Debug channel "module".

pdf