Platform SDK: DLC/NetBIOS |
To enhance the performance of the protocol driver, your application can issue multiple DLC commands with a single invocation of the protocol driver. This is known as chaining commands.
To issue multiple commands, set the pNext member of the LLC_CCB structure to the next LLC_CCB structure in the chain. All commands issued in this manner must specify the same adapter in the uchAdapterNumber member. If the chained commands do not specify the same adapter, the system performs the following steps:
Note Do not chain commands that are dependent on the completion of other commands. For example, do not chain LLC_DLC_OPEN_SAP, LLC_DLC_OPEN_STATION, and LLC_DLC_CONNECT_STATION, because the last two commands are dependent on the completion of the first command.