Jump to content

PSD DEINSTALL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
Line 5: Line 5:


* '''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==  

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.