Jump to content

DosCallPSD: Difference between revisions

From EDM2
Created page with "This function calls directly into the PSD from an application. ==Syntax== DosCallPSD <keywords> ==Parameters== Function number, argument ==Return Code== ; NO_ERROR ; -1..."
 
No edit summary
Line 1: Line 1:
This function calls directly into the PSD from an application.  
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==  
==Syntax==  
Line 14: Line 16:
==Remarks==
==Remarks==
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.


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

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.