Jump to content

WinLoadProcedure: Difference between revisions

From EDM2
WinLoadProcedure moved to OS2 API:WinLoadProcedure
 
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT [[OS2 API: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]]
[[Category:Win]]

Latest revision as of 05:14, 20 May 2018

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