EDetachPH
EParamBlkPtr thePBptr; address of an EParamBlock structure Boolean async; 0=await completion; 1=immediate return thePBptr is a pointer to an EParamBlock structure. The relevant fields are as follows:
¨ ioResult short 2 16 Result code
Æ csCode short 2 26 Always ENetDetachPH
Æ eProtType short 2 28 Ethernet protocol type async is a Boolean value. Use FALSE for normal ( synchronous) operation or TRUE to function asynchronously. See Async I/O. noErr (0) No error
LAPProtErr (-94) Protocol handler is already attached or node's
protocol table is full.
Notes: Once you have removed a protocol type from the node's protocol table with
protocol type. You specify the protocol type in the eProtType parameter. The ioResult parameter returns the result of the function. If you call the
function asynchronously, the function sets this field to 1 as soon as it
begins execution, and it changes the field to the actual result code when it
completes execution. The csCode parameter is a routine selector that is set
automatically for you by the high-level language interface; it is always
equal to ENetDetachPH for this function.
function terminate with the reqAborted result code.