The CCB_PARMS union represents the DLC parameter table. You can present the parameter table as a pointer to a structure, two USHORT values, an array of four UCHAR values, or a single ULONG value. You pass a pointer to this structure to the AcsLan function, through the u member of the LLC_CCB structure.
typedef union { PLLC_PARMS pParameterTable; struct { USHORT usStationId; USHORT usParameter; } dlc; struct { USHORT usParameter0; USHORT usParameter1; } dir; UCHAR auchBuffer[4]; ULONG ulParameter; } CCB_PARMS;
Command |
Parameter Table |
LLC_BUFFER_CREATE | |
LLC_BUFFER_FREE | |
LLC_BUFFER_GET | |
LLC_DIR_INITIALIZE | |
LLC_DIR_OPEN_ADAPTER | |
LLC_DIR_OPEN_DIRECT | |
LLC_DIR_READ_LOG | |
LLC_DIR_SET_EXCEPTION_FLAGS | |
LLC_DIR_SET_MULTICAST_ADDRESS | |
LLC_DIR_STATUS | |
LLC_DLC_CONNECT_STATION | |
LLC_DLC_MODIFY | |
LLC_DLC_OPEN_SAP | |
LLC_DLC_OPEN_STATION | |
LLC_DLC_REALLOCATE_STATIONS | |
LLC_DLC_SET_THRESHOLD | |
LLC_DLC_STATISTICS | |
LLC_READ | |
LLC_RECEIVE | |
LLC_TRANSMIT_DIR_FRAME | |
LLC_TRANSMIT_I_FRAME | |
LLC_TRANSMIT_TEST_CMD | |
LLC_TRANSMIT_UI_FRAME | |
LLC_TRANSMIT_XID_CMD | |
LLC_TRANSMIT_XID_RESP_FINAL | |
LLC_TRANSMIT_XID_RESP_NOT_FINAL |
The following table shows how the usStationId, usParameter, usParameter0, usParameter1, auchBuffer, and ulParameter members are used by the commands whose parameter tables are not represented by a unique LLC_PARMS structure.
Command |
Parameter Table |
LLC_DIR_SET_FUNCTIONAL_ADDRESS |
usParameter0 and usParameter1 contain the address to be set or reset. |
LLC_DIR_SET_GROUP_ADDRESS |
usParameter0 contains the group address to be set. |
LLC_DIR_TIMER_CANCEL |
usParameter0 and usParameter1 contain the address of the timer to be canceled. |
LLC_DIR_TIMER_CANCEL_GROUP |
usParameter0 and usParameter1 contain the timer completion flag. |
LLC_DIR_TIMER_SET |
usParameter0 contains the timer value. |
LLC_DLC_CLOSE_SAP |
usStationId contains the station identifier of the SAP to be closed and usParameter receives the station identifier of any link station on the SAP that is not closed. |
LLC_DLC_CLOSE_STATION |
usStationId contains the station identifier of the station to be closed. |
LLC_DLC_FLOW_CONTROL |
usStationId contains the station identifier and usParameter specifies one of the following options:
LLC_RESET_LOCAL_BUSY_USER |
LLC_DLC_RESET |
usStationId contains the station identifier of the station to be reset. A value of zero defines all SAPs and all link stations. A value of 0xnn00 defines SAP nn and all its link stations. |
LLC_READ_CANCEL |
ulParameter contains the address of the command control block of the read command to be canceled. |
LLC_RECEIVE_CANCEL |
usStationId contains the station identifier of the SAP or link station of a pending LLC_RECEIVE command that is to be canceled. |
LLC_RECEIVE_MODIFY |
usStationId contains the station identifier and usParameter specifies the length of the user data in the buffers. |
If an LLC_READ command is pending that requests notification of data to be received, the cancellation of the LLC_RECEIVE command does not affect the LLC_READ command. After the LLC_RECEIVE_CANCEL command completes, the pNext member of the LLC_CCB structure contains the address of the canceled LLC_RECEIVE command.
AcsLan, LLC_BUFFER_CREATE_PARMS, LLC_BUFFER_FREE_PARMS, LLC_BUFFER_GET_PARMS, LLC_CCB, LLC_DIR_INITIALIZE_PARMS, LLC_DIR_OPEN_ADAPTER_PARMS, LLC_DIR_OPEN_DIRECT_PARMS, LLC_DIR_READ_LOG_PARMS, LLC_DIR_SET_EFLAG_PARMS, LLC_DIR_MULTICAST_ADDRESS, LLC_DIR_STATUS_PARMS, LLC_DLC_CONNECT_PARMS, LLC_DLC_MODIFY_PARMS, LLC_DLC_OPEN_SAP_PARMS, LLC_DLC_OPEN_STATION_PARMS, LLC_DLC_REALLOCATE_PARMS, LLC_DLC_SET_THRESHOLD_PARMS, LLC_DLC_STATISTICS_PARMS, LLC_READ_PARMS, LLC_RECEIVE_PARMS, LLC_TRANSMIT_PARMS
file: /Techref/os/win/api/win32/struc/src/str01_10.htm, 13KB, , updated: 2000/4/7 11:20, local time: 2024/11/29 20:28,
18.191.165.149: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://sxlist.com/Techref/os/win/api/win32/struc/src/str01_10.htm"> CCB_PARMS</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.