AFPCommand
Boolean async; 0=await completion; 1=immediate return • AFPWrite
• AFPRead
General Command Format
The general command format for the AFPCommad function passes an AFP
command to the server. This format is used for all AFP calls except AFPLogin,
AFPRead, and AFPWrite.
xParamBlock is a pointer to an XPPParamBlock structure. The relevant fields are as follows:
¨ cmdResult long 4 18 AFP command result
¨ csCode short 2 26 Always afpCall
¨ sessRefNum short 2 28 Session reference number
¨ aspTimeout char 1 30 Retry interval in seconds
¨ cbSize short 2 32 Command buffer siz
¨ cbPtr Ptr 4 34 Command buffer