The LLC_RECEIVE_PARMS structure is the DLC parameter table for the LLC_RECEIVE command. You pass a pointer to this structure using the pParameterTable member of the CCB_PARMS union.
typedef struct { USHORT usStationId; USHORT usUserLength; ULONG ulReceiveFlag; PLLC_BUFFER pFirstBuffer; UCHAR uchOptions; UCHAR auchReserved1[3]; UCHAR uchRcvReadOption; } LLC_RECEIVE_PARMS, *PLLC_RECEIVE_PARMS;
Option |
Description |
LLC_CONTIGUOUS_MAC |
Contiguous MAC. Used only with MAC frames. |
LLC_CONTIGUOUS_DATA |
Contiguous data. Only used with non-MAC frames. The system places the entire frame in the first buffer. |
LLC_NOT_CONTIGUOUS_DATA |
The first data received is placed in the second buffer. The first buffer contains only the header data. |
Option |
Description |
LLC_RCV_READ_INDIVIDUAL_FRAMES |
The frames are not chained. Use an LLC_READ command to retrieve each frame. |
LLC_RCV_CHAIN_FRAMES_ON_LINK |
The frames received for a link station are chained. You can use a single LLC_READ command to retrieve all chained frames. |
LLC_RCV_CHAIN_FRAMES_ON_SAP |
The frames received for a SAP are chained. You can use a single LLC_READ command to retrieve all chained frames. |
If LLC_RECEIVE commands have been issued for link stations, the options specified for the link station’s LLC_RECEIVE command determine how received data is chained. If a link station has a pending LLC_RECEIVE command specifying that its received frames should be chained on a link station basis, its frames will not be chained together with the SAP’s frames. All link stations that do not have an LLC_RECEIVE command pending will have their received frames chained as specified by the SAP’s LLC_RECEIVE command. If neither the SAP nor the link station have an LLC_RECEIVE command pending, the direct station is used.
The uchRcvReadOption member of a SAP’s LLC_RECEIVE command is used to determine how data that the link station receives for the SAP is chained when its link stations do not have LLC_RECEIVE commands outstanding.
LLC_READ commands must match the LLC_RECEIVE commands uchRcvReadOption settings.
file: /Techref/os/win/api/win32/struc/src/str09_57.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/7 21:37,
3.147.242.22: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://ecomorder.com/Techref/os/win/api/win32/struc/src/str09_57.htm"> LLC_RECEIVE_PARMS</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
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! |
.