BuildDDPwds
BuildDDPwds Build a single-frame write data structure
#include <AppleTalk.h> AppleTalk Manager
void BuildDDPwds(wdsPtr, headerPtr, dataPtr, destAddress,
DDPType, dataLen);
Ptr wdsPtr; pointer to write data structure
Ptr headerPtr; pointer to header buffer
Ptr dataPtr; pointer to data buffer
short destAddress; destination address
short DDPType; protocol type
short dataLen; length of data buffer
returns none
BuildDDPwds builds a single-frame write data structure DDP WDS for use
with the DDPWrite call. Given a header buffer of at least 17 bytes pointed to
by headerPtr, it fills in the WDS pointed to by wdsPtr and sets the destination
address and protocol type as indicated by destAddress and DDPtype,
respectively.
wdsPtr is the write data structure's address
headerPtr is the header buffer's address
dataPtr is a pointer to the data buffer
destAddress is the destination address
DDPType specifies the protocol type
dataLen is the size of the data in bytes
Returns: none

Notes: The WDS indicated must contain at least three elements.