Jump to content

WinDeleteProcedure: Difference between revisions

From EDM2
WinDeleteProcedure moved to OS2 API:WinDeleteProcedure
 
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
#REDIRECT [[OS2 API:WinDeleteProcedure]]
Removes the procedure from access that had been allocated by a previous call to [[WinLoadProcedure]].


==Syntax==
WinDeleteProcedure(anchorBlockHndl, procedureIdentifier)
==Parameters ==
; anchorBlockHndl - [[HAB]] - input : The anchor block handle.
; procedureIdentifier - [[PFNWP]] - input : The identity of the procedure.
== Constants ==
None
== 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 or INCL_WIN or INCL_PM
== Export name/Ordinal ==
@3102
== Calling Convention ==
[[Cdecl32]]
== Example Code ==
...
BOOL  rc;
HAB    hab;
PFNWP  pfnwpProcID;
...
rc = WinDeleteProcedure (hab, pfnwpProcID);
...
== Related Functions ==
*[[WinLoadLibrary]]
*[[WinDeleteLibrary]]
*[[WinLoadProcedure]]
[[Category:Win]]

Latest revision as of 04:58, 20 May 2018

Removes the procedure from access that had been allocated by a previous call to WinLoadProcedure.

Syntax

WinDeleteProcedure(anchorBlockHndl, procedureIdentifier)

Parameters

anchorBlockHndl - HAB - input
The anchor block handle.
procedureIdentifier - PFNWP - input
The identity of the procedure.

Constants

None

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 or INCL_WIN or INCL_PM

Export name/Ordinal

@3102

Calling Convention

Cdecl32

Example Code

...
BOOL   rc;
HAB    hab;
PFNWP  pfnwpProcID;
...
rc = WinDeleteProcedure (hab, pfnwpProcID);
...

Related Functions