| D O S _ D O P A C K E T ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - DOS_#?
----------------------------------------------------------------------------
NAME
dos_dopacket() - Sends DOS pkt to a given msg. port.
SYNOPSIS
res = dos_dopacket(mpi, action,
arg1, arg2, arg3, arg4, arg5);
LONG dos_dopacket(struct MsgPort *, LONG,
LONG, LONG, LONG, LONG, LONG);
FUNCTION
This function sends a DOS packet and awaits reply.
INPUTS
mpi - MsgPort to which packet will be put.
action - Standard action number.
arg1 - Packet argument.
arg2 - Packet argument.
arg3 - Packet argument.
arg4 - Packet argument.
arg5 - Packet argument.
RETURNS
Returns 'dp_Res1'. This function cannot fail itself.
BASES
SysBase
NOTES
This func. tries to mimic 'DoPkt()', but there are
some differences. First of 'dp_Res2' cannot be read
with 'IoErr()' plus it is not being put in register
D1!
This func. can be called safely from under the task!
SEE ALSO
dos_replypacket(), dos_waitpacket()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |