WinLoadProcedure: Difference between revisions
Appearance
m Redirected page to OS2 API:PMI:WinLoadProcedure |
No edit summary |
||
Line 1: | Line 1: | ||
== WinLoadProcedure == | |||
; WinLoadProcedure(anchorBlockHndl, libraryHndl, procedureName) : Loads the named procedure associated with the library (dynamic link library) handle. | |||
=== 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 conversion === | |||
[[Cdecl32]] | |||
=== Example Code === | |||
... | |||
[[OS2 API:DataType:PFNWP|PFNWP]] rc; | |||
[[OS2 API:DataType:HAB|HAB]] hab; | |||
[[OS2 API:DataType:HLIB|HLIB]] hlib; | |||
... | |||
rc = WinLoadProcedure (hab, hlib, "someFunctionName"); | |||
... | |||
=== Related Functions === | |||
*[[WinDeleteLibrary]] | |||
*[[WinDeleteProcedure]] | |||
*[[WinLoadLibrary]] | |||
[[Category:Win]] |
Revision as of 20:02, 28 November 2016
WinLoadProcedure
- WinLoadProcedure(anchorBlockHndl, libraryHndl, procedureName)
- Loads the named procedure associated with the library (dynamic link library) handle.
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 conversion
Example Code
... PFNWP rc; HAB hab; HLIB hlib; ... rc = WinLoadProcedure (hab, hlib, "someFunctionName"); ...