Jump to content

DosCallPSD

From EDM2
Revision as of 18:07, 24 May 2025 by Martini (talk | contribs)

This function calls directly into the PSD from an application. Perform generic APP/PSD communication.

This function performs generic application/PSD communication. The entry arguments, and return codes are not interpreted by OS/2, it is passed verbatim to, and from the PSD.

Syntax

DosCallPSD <keywords>

Parameters

Function number, argument

Return Code

NO_ERROR
-1

Remarks

DosCallPSD must be called is protect mode only. The protocol is private.

If the PSD does not export the PSD_APP_COMM function, and the DosCallPSD API is invoked, ERROR_INVALID_FUNCTION is returned.