Jump to content

DosCallPSD: Difference between revisions

From EDM2
No edit summary
 
Line 17: Line 17:
DosCallPSD must be called is protect mode only. The protocol is private.
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.
If the PSD does not export the ''PSD_APP_COMM function'', and the DosCallPSD API is invoked, ''ERROR_INVALID_FUNCTION'' is returned.


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

Latest revision as of 18:07, 24 May 2025

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.