WinLoadProcedure

Loads the named procedure associated with the library (dynamic link library) handle.

Syntax
WinLoadProcedure(anchorBlockHndl, libraryHndl, procedureName)

Parameters

 * anchorBlockHndl - HAB - input : The anchor block handle.
 * libraryHndl - HLIB - input : The library handle.
 * procedureName - PSZ - input : The name of the procedure.

Constants
None

Returns
This function returns a PFNWP - the window procedure identifier.

Module
PMMERGE

Define (C/C++)
INCL_WINLOAD or INCL_WIN or INCL_PM

Export name/Ordinal
@3160

Calling Convention
Cdecl32

Example Code
... PFNWP rc; HAB    hab; HLIB  hlib; ... rc = WinLoadProcedure (hab, hlib, "someFunctionName"); ...

Related Functions

 * WinDeleteLibrary
 * WinDeleteProcedure
 * WinLoadLibrary