The LLC_BUFFER_GET_PARMS structure is the DLC parameter table for the LLC_BUFFER_GET command. You pass a pointer to this structure using the pParameterTable member of the CCB_PARMS union.
typedef struct { USHORT usReserved1; USHORT cBuffersLeft; USHORT cBuffersToGet; USHORT cbBufferSize; PLLC_XMIT_BUFFER pFirstBuffer; } LLC_BUFFER_GET_PARMS, *PLLC_BUFFER_GET_PARMS;
If cBuffersToGet is zero and cbBufferSize is the size of the frame that is copied to the buffers, the system returns enough buffers to contain the whole frame, including its buffer headers. Then cBuffersLeft receives the size of free locked memory, in 256-byte blocks, or 65536 if the actual size is about 1 MB.
If the pool contains an inadequate number of buffers, the command fails with the status code LLC_STATUS_INADEQUATE_BUFFERS.