Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 949 Bytes

File metadata and controls

35 lines (22 loc) · 949 Bytes

NAME

SendPkt -- Sends a packet to a handler (V36)

SYNOPSIS

    SendPkt(packet, port, replyport)
             D1     D2      D3

    void SendPkt(struct DosPacket *,struct MsgPort *,struct MsgPort *)

Links: DosPacket MsgPort MsgPort

FUNCTION

Sends a packet to a handler and does not wait. All fields in the packet must be initialized before calling this routine. The packet will be returned to replyport. If you wish to use this with WaitPkt, use the address or your pr_MsgPort for replyport.

INPUTS

packet - packet to send, must be initialized and have a message. port - pr_MsgPort of handler process to send to. replyport - MsgPort for the packet to come back to.

NOTES Callable from a task.

SEE ALSO

DoPkt, WaitPkt, AllocDosObject, FreeDosObject, AbortPkt