Jump to content

DosTestPSD

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

Determine if the PSD is valid for the current platform.

This function will load the specified PSD, call its Install, and DeInstall routine, and unload the PSD. It returns the return code from the PSD's Install routine, or any error code it might have received while attempting to do the above operation.

Syntax

DosTestPSD (pszPSDFileName)

Parameters

pszPSDFileName (PCSZ) - input
Pointer to a fully qualified PSD path and name.

Return Code

Exit: Return Code.

Remarks

This function will mainly be used by OS/2's install, to test the validity of a PSD that will be installed.