Hello Lars!

On Sat, 25 Jan 2003 00:10:24 -0000, "barf1234de"
<[EMAIL PROTECTED]> wrote:

>You wondered how to call a PSD from an app.

True.

>In the SMP inf file, there are these two functions:
>
>DosCallPSD (don't know)
>Dos32TestPSD (DOSCALLS.453, also in os2386.lib)

well, my version of SMP.INF here (from 1997) doesn't mention
DosCallPSD; the same with OS2?86?.LIB, and in the symbol files of
OS2KRNL whis call is missing, too. DosTestPSD is implemented and made
public, the question remains what about DosCallPSD?

>The interface is rather vague but I guess it's this:
>
>APIRET APIENTRY DosCallPSD(ULONG functionnumber,ULONG/PVOID argument);
>APIRET APIENTRY Dos32TestPSD(PSZ psdName);
>
>DosCallPSD is for your own generic communication (like a DevIOCtl).
>You can pass any functionnumber you want and any argument and the PSD
>Function "PSD_APP_COMM" will receive these two parameters and
>"PSD_APP_COMM" will deliver the return code back to DosCallPSD.

At least this is what SMP.INF tells about PSD_APP_COMM in the
documentation of the PSD entry points.

Ciao,
  Dani


-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]

     unsubscribe acpi-os2
     end

Reply via email to