Jump to content

WinLoadLibrary: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
Makes the named library available.
Makes the named library available.
==Syntax==
  WinLoadLibrary(anchorBlockHndl, libraryName)
  WinLoadLibrary(anchorBlockHndl, libraryName)


=== Parameters ===
== Parameters ==
;anchorBlockHndl - [[HAB]] - input : The anchor block handle.
;anchorBlockHndl - [[HAB]] - input : The anchor block handle.
;libraryName - [[PSZ]] - input : The name of the library.
;libraryName - [[PSZ]] - input : The name of the library.


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


=== Returns ===
== Returns ==
This function returns a [[HLIB]] with possible values of:
This function returns a [[HLIB]] with possible values of:
* [[NULLHANDLE]]
* [[NULLHANDLE]]
* A valid library handle.
* A valid library handle.


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


=== Define (C/C++) ===
== Define (C/C++) ==
INCL_WINLOAD
INCL_WINLOAD


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


=== Example Code ===
== Example Code ==
  ...
  ...
  [[HLIB]] rc;
  [[HLIB]] rc;
Line 30: Line 32:
  ...
  ...


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

Latest revision as of 05:13, 20 May 2018

Makes the named library available.

Syntax

WinLoadLibrary(anchorBlockHndl, libraryName)

Parameters

anchorBlockHndl - HAB - input
The anchor block handle.
libraryName - PSZ - input
The name of the library.

Constants

None

Returns

This function returns a HLIB with possible values of:

Module

PMMERGE

Define (C/C++)

INCL_WINLOAD

Calling Convention

Cdecl32

Example Code

...
HLIB rc;
HAB   hab;
rc = WinLoadLibrary (hab, "someFile.dll");
...

Related Functions

WinDeleteLibrary WinDeleteProcedure WinLoadProcedure