Jump to content

WinLoadProcedure: Difference between revisions

From EDM2
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== WinLoadProcedure ==
Loads the named procedure associated with the library (dynamic link library) handle.
; WinLoadProcedure(anchorBlockHndl, libraryHndl, procedureName) : Loads the named procedure associated with the library (dynamic link library) handle.


=== Parameters ===
==Syntax==
WinLoadProcedure(anchorBlockHndl, libraryHndl, procedureName)
 
== Parameters ==
; anchorBlockHndl - [[HAB]] - input : The anchor block handle.
; anchorBlockHndl - [[HAB]] - input : The anchor block handle.
; libraryHndl - [[HLIB]] - input : The library handle.
; libraryHndl - [[HLIB]] - input : The library handle.
; procedureName - [[PSZ]] - input : The name of the procedure.
; procedureName - [[PSZ]] - input : The name of the procedure.


=== Constants ===
== Constants ==
None
None


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


=== Module ===
== Module ==
PMMERGE
PMMERGE


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


=== Export name/Ordinal ===
== Export name/Ordinal ==
@3160
@3160


=== Calling Convention ===
== Calling Convention ==
[[Cdecl32]]
[[Cdecl32]]


=== Example Code ===
== Example Code ==
  ...
  ...
  [[OS2 API:DataType:PFNWP|PFNWP]] rc;
  [[PFNWP]] rc;
  [[OS2 API:DataType:HAB|HAB]]    hab;
  [[HAB]]    hab;
  [[OS2 API:DataType:HLIB|HLIB]]  hlib;
  [[HLIB]]  hlib;
  ...
  ...
  rc = WinLoadProcedure (hab, hlib, "someFunctionName");
  rc = WinLoadProcedure (hab, hlib, "someFunctionName");
  ...
  ...


=== Related Functions ===
==Related Functions==
*[[WinDeleteLibrary]]
*[[WinDeleteLibrary]]
*[[WinDeleteProcedure]]
*[[WinDeleteProcedure]]

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