LAPCloseProtocol
LAPCloseProtocol Remove the specified ALAP protocol type
#include <AppleTalk.h> AppleTalk Manager
ABByte theLAPType; protocol type specification.
returns Error Code; 0=no error
LAPCloseProtocol is part of the AppleTalk alternate interface. It is
recommended that you use the preferred call, PDetachPH instead.
LAPCloseProtocol removes the specified ALAP protocol type specified by
theLAPType from the node's protocol table.
Warning:Do not close ALAP protocol type values 1 or 2. If you close these
protocol types, DDP will be disabled; once disabled, the only way to restore
DDP is to restart the system, or to close and then reopen AppleTalk.
theLAPType specifies the ALAP protocol to be added.
Returns: an operating system Error Code. It will be one of:
noErr (0) No error
lapProtErr (-94) Error detaching protocol type.