please dont rip this site Prev Next

AcsLan info  Overview  Group

The AcsLan function communicates with IBM mainframes or network peripheral devices, such as printers connected directly to the network, by using the data link control (DLC) protocol. You can submit commands by filling in a command control block (CCB) structure, LLC_CCB, and then calling AcsLan.

Commands submitted through AcsLan can complete synchronously or asynchronously. The DLC driver, not the caller, determines how a command completes.

ACSLAN_STATUS AcsLan(

    PLLC_CCB pCcb,

// pointer to the command control block

    PLLC_CCB *ppBadCcb 

// pointer to a pointer to an invalid CCB

   );

Parameters

pCcb
Pointer to an LLC_CCB structure describing the command to be performed.
ppBadCcb
Pointer to a pointer to an LLC_CCB structure. Use this parameter when you chain DLC commands. If the parameter is not NULL on input, this pointer will receive a pointer to the first invalid LLC_CCB structure in the chain.

Return Values

The function returns an ACSLAN_STATUS value. ACSLAN_STATUS is an enumerated type. The following values are defined.

Value

Meaning

ACSLAN_STATUS_COMMAND_ACCEPTED

The command has been processed and passed to the DLC driver. Asynchronous commands may or may not be completed. Check the uchDlcStatus member in the LLC_CCB structure to determine whether the command succeeded.

ACSLAN_STATUS_INVALID_CCB_POINTER

A pointer in the LLC_CCB structure, or the parameter table is invalid.

ACSLAN_STATUS_CCB_IN_ERROR

A problem was detected with the LLC_CCB structure. Check the values in the structure and resubmit it.

ACSLAN_STATUS_CHAINED_CCB_IN_ERROR

A problem was detected with an LLC_CCB structure in a chain of LLC_CCB structures.

ACSLAN_STATUS_SYSTEM_ERROR

This value is not used.

ACSLAN_STATUS_SYSTEM_STATUS

This value is not used.

ACSLAN_STATUS_INVALID_COMMAND

The command in the uchDlcCommand member of the LLC_CCB structure is unrecognized.

See Also

LLC_CCB 

See also:


file: /Techref/os/win/api/win32/func/src/f00_16.htm, 4KB, , updated: 2000/4/7 12:19, local time: 2022/5/21 16:14,
TOP NEW HELP FIND: 
3.239.129.91:LOG IN

 ©2022 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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f00_16.htm"> AcsLan</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @20220521
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .