The LLC_READ_PARMS structure is the DLC parameter table for the LLC_READ command. You pass a pointer to this structure using the pParameterTable member of the CCB_PARMS union.
typedef struct { USHORT usStationId; UCHAR uchOptionIndicator; UCHAR uchEventSet; UCHAR uchEvent; UCHAR uchCriticalSubset; ULONG ulNotificationFlag; union { struct { USHORT usCcbCount; PLLC_CCB pCcbCompletionList; USHORT usBufferCount; PLLC_BUFFER pFirstBuffer; USHORT usReceivedFrameCount; PLLC_BUFFER pReceivedFrame; USHORT usEventErrorCode; USHORT usEventErrorData[3]; } Event; struct { USHORT usStationId; USHORT usDlcStatusCode; UCHAR uchFrmrData[5]; UCHAR uchAccessPritority; UCHAR uchRemoteNodeAddress[6]; UCHAR uchRemoteSap; UCHAR uchReserved; USHORT usUserStatusValue; } Status; } Type; } LLC_READ_PARMS, *PLLC_READ_PARMS;
Value |
Description |
LLC_OPTION_READ_STATION |
Match the read command using the station identifier. |
LLC_OPTION_READ_SAP |
Match the read command using the SAP number of the station identifier. |
LLC_OPTION_READ_ALL |
Match the read command using all events. |
Value |
Description |
LLC_READ_ALL_EVENTS |
All events. |
LLC_EVENT_SYSTEM_ACTION |
System action events. |
LLC_EVENT_NETWORK_STATUS |
Network status events (non-critical). |
LLC_EVENT_CRITICAL_EXCEPTION |
Critical exception. |
LLC_EVENT_STATUS_CHANGE |
DLC status change. |
LLC_EVENT_RECEIVE_DATA |
Receive data. |
LLC_EVENT_TRANSMIT_COMPLETION |
Transmit completion. |
LLC_EVENT_COMMAND_COMPLETION |
Command completion. |
Value |
Description |
1 |
Network status |
2 |
Adapter check |
3 |
System error |
4 |
System action |
Code |
Name |
0x8000 |
LLC_INDICATE_LINK_LOST |
0x4000 |
LLC_INDICATE_DM_DISC_RECEIVED |
0x2000 |
LLC_INDICATE_FRMR_RECEIVED |
0x1000 |
LLC_INDICATE_FRMR_SENT |
0x0800 |
LLC_INDICATE_RESET |
0x0400 |
LLC_INDICATE_CONNECT_REQUEST |
0x0200 |
LLC_INDICATE_REMOTE_BUSY |
0x0100 |
LLC_INDICATE_REMOTE_READY |
0x0080 |
LLC_INDICATE_TI_TIMER_EXPIRED |
0x0040 |
LLC_INDICATE_DLC_COUTNER_OVERFLOW |
0x0020 |
LLC_INDICATE_ACCESS_PRTY_LOWERED |
0x0001 |
LLC_INDICATE_LOCAL_STATION_BUSY |
The following table shows which members are used for each event.
Event |
Members used |
LLC_EVENT_SYSTEM_ACTION |
ulNotificationFlag |
LLC_EVENT_NETWORK_STATUS |
ulNotificationFlag |
LLC_EVENT_CRITICAL_EXCEPTION |
uchCriticalSubset |
LLC_EVENT_STATUS_CHANGE |
ulNotificationFlag |
LLC_EVENT_RECEIVE_DATA |
usReceivedFrameCount |
LLC_EVENT_TRANSMIT_COMPLETION |
usCcbCount |
LLC_EVENT_COMMAND_COMPLETION |
usCcbCount |
file: /Techref/os/win/api/win32/struc/src/str09_56.htm, 12KB, , updated: 2000/4/7 11:20, local time: 2024/11/13 23:07,
52.15.187.50:LOG IN
|
©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://linistepper.com/Techref/os/win/api/win32/struc/src/str09_56.htm"> LLC_READ_PARMS</A> |
Did you find what you needed? |