Jump to content

WinDeleteLibrary: Difference between revisions

From EDM2
m Redirected page to OS2 API:PMI:WinDeleteLibrary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[OS2 API:PMI:WinDeleteLibrary]]
Removes the library from access that had been allocated by a previous call to [[WinLoadLibrary]].
 
==Syntax==
WinDeleteLibrary(anchorBlockHndl, libraryHndl)
 
== 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 Convention ==
[[Cdecl32]]
 
== Example Code ==
BOOL rc;
HAB  hab;
HLIB hlib;
...
rc = WinDeleteLibrary (hab, hlib);
 
== Related Functions ==
*[[WinLoadLibrary]]
*[[WinDeleteProcedure]]
*[[WinLoadProcedure]]
 
[[Category:Win]]

Latest revision as of 04:57, 20 May 2018

Removes the library from access that had been allocated by a previous call to WinLoadLibrary.

Syntax

WinDeleteLibrary(anchorBlockHndl, libraryHndl)

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 Convention

Cdecl32

Example Code

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

Related Functions