Jump to content

WinDeleteLibrary: Difference between revisions

From EDM2
m Redirected page to OS2 API:PMI:WinDeleteLibrary
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
#REDIRECT [[OS2 API:PMI:WinDeleteLibrary]]
== WinDeleteLibrary ==
; WinDeleteLibrary(anchorBlockHndl, libraryHndl) : Removes the library from access that had been allocated by a previous call to [[WinLoadLibrary]].
 
=== Parameters ===
;anchorBlockHndl - [[HAB]] - input : The anchor block handle.
;libraryHndl - [[HLIB]] - input : The handle of the library.
 
=== Returns ===
This function returns a [[BOOL]] with possible values of:
; [[TRUE]] : Library successfully unloaded.
; [[FALSE]] : Library not successfully unloaded.
 
=== Module ===
PMMERGE
 
=== Define (C/C++) ===
INCL_WINLOAD
 
=== Calling conversion ===
[[Cdecl32]]
 
=== Example Code ===
BOOL rc;
HAB  hab;
HLIB hlib;
...
rc = WinDeleteLibrary (hab, hlib);
 
=== Related Functions ===
*[[WinLoadLibrary]]
*[[WinDeleteProcedure]]
*[[WinLoadProcedure]]
 
[[Category:Win]]

Revision as of 08:58, 6 January 2017

WinDeleteLibrary

WinDeleteLibrary(anchorBlockHndl, libraryHndl)
Removes the library from access that had been allocated by a previous call to WinLoadLibrary.

Parameters

anchorBlockHndl - HAB - input
The anchor block handle.
libraryHndl - HLIB - input
The handle of the library.

Returns

This function returns a BOOL with possible values of:

TRUE
Library successfully unloaded.
FALSE
Library not successfully unloaded.

Module

PMMERGE

Define (C/C++)

INCL_WINLOAD

Calling conversion

Cdecl32

Example Code

BOOL rc;
HAB  hab;
HLIB hlib;
...
rc = WinDeleteLibrary (hab, hlib);

Related Functions