GetProcAddress(3w)

GetProcAddress3w

Usage

FARPROC GetProcAddress
(
HMODULE hModule,
LPCSTR function
)

Overview

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".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.