AFPLoginPrm
AFPLoginPrm structure
#include <AppleTalk.h>
typedef struct AFPLoginPrm { Size Offset Description
XPPPBHeader 28 0 common fields of XPPParamBlock
variants
short sessRefnum; 2 28 Offset to session refnum
char aspTimeout; 1 30 Timeout for ATP
char aspRetry; 1 31 Retry count for ATP
short cbSize; 2 32 Command block size
Ptr cbPtr; 4 34 Command block pointer
short rbSize; 2 38 Reply buffer size
Ptr rbPtr; 4 40 Reply buffer pointer
AddrBlock afpAddrBlock; 4 44 Block in AFP login
Ptr afpSCBPtr; 4 48 SCB pointer in AFP login
Ptr afpAttnRoutine; 4 52 Routine pointer in AFP login
char ccbFill[144]; 144 56 CCB memory allocated for driver;
Login needs only 150 bytes BUT CCB
really starts in the middle of
AFPSCPPtr and also clobbers
AFPAttnRoutine
} AFPLoginPrm; ‹200