Jump to content

PSD_DEINSTALL

From EDM2
Revision as of 18:10, 24 May 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.