2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
9 #include <aros/debug.h>
11 #include <proto/exec.h>
13 #include "dos_intern.h"
15 /*****************************************************************************
18 #include <dos/dosextens.h>
19 #include <proto/dos.h>
21 AROS_LH3(void, ReplyPkt
,
24 AROS_LHA(struct DosPacket
*, dp
, D1
),
25 AROS_LHA(SIPTR
, res1
, D2
),
26 AROS_LHA(LONG
, res2
, D3
),
29 struct DosLibrary
*, DOSBase
, 43, Dos
)
47 *****************************************************************************/
51 struct Process
*me
= (struct Process
*)FindTask(NULL
);
53 ASSERT_VALID_PROCESS(me
);
55 internal_ReplyPkt(dp
, &me
->pr_MsgPort
, res1
, res2
);
60 void internal_ReplyPkt(struct DosPacket
*dp
, struct MsgPort
*replyPort
, SIPTR res1
, LONG res2
)
67 mn
->mn_Node
.ln_Name
= (char*)dp
;
68 dp
->dp_Port
= replyPort
;
73 * Can't use ReplyMsg() here because mn_ReplyPort seems to be not set.