Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

SendPkt

Sends a packet to a handler

Declaration

Source position: amigados.pas line 2473

procedure SendPkt(

  Dp: PDosPacket;

  Port: PMsgPort;

  ReplyPort: PMsgPort

);

Arguments

Dp

  

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.

Description

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 of your pr_MsgPort for replyport.

See also

DoPkt

  

Send a dos packet and wait for reply

WaitPkt

  

Waits for a packet to arrive at your pr_MsgPort

AllocDosObject

  

Creates a dos object

FreeDosObject

  

Frees an object allocated by AllocDosObject()


Documentation generated on: 2021-07-30