Jump to content

PSD DEINSTALL: Difference between revisions

From EDM2
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:PSD_DEINSTALL}}
DeInstall the PSD.
DeInstall the PSD.


This function is called to release any resources that may have been allocated by the PSD_INSTALL function. A PSD is never de-installed after its Init routine is called.
This function is called to release any resources that may have been allocated by the PSD_INSTALL function. A PSD is never de-installed after it's Init routine is called.


* '''Mode''': Called in Init Mode; may be called in Kernel Mode.
* '''Mode''': Called in Init Mode; may be called in Kernel Mode.
*Required, Can Block.


==Syntax==  
==Syntax==  
Line 13: Line 15:
==Return Code==
==Return Code==
'''Exit''' :   
'''Exit''' :   
; NO_ERROR : if the PSD DeInstalled succesfully.
; NO_ERROR : if the PSD de-installed successfully.
; -1 : if the PSD didn't DeInstall.
; -1 : if the PSD didn't de-install.


==Remarks==
==Remarks==
This function may be called after OS/2 is finished with initialization by the DosTestPSD API; therefore, the PSD developer must be careful not to use any init mode only PSDHelp's in this function.  
This function may be called after OS/2 is finished with initialization by the DosTestPSD API; therefore, the PSD developer must be careful not to use any init mode only PSDHelp's in this function.
* The function is required for OS/2 to operate properly, so the function can not be omitted.
* The function is required for OS/2 to operate properly, so the function can not be omitted.
* The function can call a PSD help that may block.
* The function can call a PSD help that may block.


[[Category:PSD]]
[[Category:PSD]]

Latest revision as of 18:10, 24 May 2025

DeInstall the PSD.

This function is called to release any resources that may have been allocated by the PSD_INSTALL function. A PSD is never de-installed after it's Init routine is called.

  • Mode: Called in Init Mode; may be called in Kernel Mode.
  • Required, Can Block.

Syntax

PSD_DEINSTALL <keywords>

Parameters

  • Entry: None.

Return Code

Exit :

NO_ERROR
if the PSD de-installed successfully.
-1
if the PSD didn't de-install.

Remarks

This function may be called after OS/2 is finished with initialization by the DosTestPSD API; therefore, the PSD developer must be careful not to use any init mode only PSDHelp's in this function.

  • The function is required for OS/2 to operate properly, so the function can not be omitted.
  • The function can call a PSD help that may block.