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

WaitPkt

Waits for a packet to arrive at your pr_MsgPort

Declaration

Source position: amigados.pas line 2474

function WaitPkt: PDosPacket;

Function result

the packet that arrived at the port (from ln_Name of message).

Description

Waits for a packet to arrive at your pr_MsgPort. If anyone has installed a packet wait function in pr_PktWait, it will be called. The message will be automatically GetMsg()ed so that it is no longer on the port. It assumes the message is a dos packet. It is not guaranteed to clear the signal for the port.

See also

SendPkt

  

Sends a packet to a handler

DoPkt

  

Send a dos packet and wait for reply


Documentation generated on: 2021-07-30