ASPCloseAll
ASPCloseAll Close every active session
#include <AppleTalk.h> AppleTalk Manager
OSErr ASPCloseAll( xParamBlock, async);
XPPParmBlkPtr xParamBlock; pointer to an AppleTalk parameter block
Boolean async; 0=await completion; 1=immediate return
returns Error Code; 0=no error
ASPCloseAll closes every session that the driver has active, aborting all
active requests and invoking the attention routines where provided.
xParamBlock is a pointer to a parameter block structure. The relevant fields are
as follows:
Out-InName Type Size Offset Description
ยจ csCode short 2 26 Always ASPCloseAll
async is a Boolean value. Use FALSE for normal ( synchronous) operation
or TRUE to enqueue the request and resume control immediately. See
Async I/O.
Returns: an operating system Error Code.

Notes: This call should be used carefully. ASPCloseAll can be used as a system
level resource for making sure all sessions are closed prior to closing the
driver.