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.
AcsLan, CCB_PARMS, LLC_XMIT_BUFFER
file: /Techref/os/win/api/win32/struc/src/str09_32.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/4 14:46,
18.224.43.74:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str09_32.htm"> LLC_BUFFER_GET_PARMS</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.