NCBRESET

NCBRESET

This command resets the specified LANA number and affects certain environment resources as follows:

  • If ncb_lsn is not 0, all resources associated with ncb_lana_num are freed.

  • If ncb_lsn is 0, all resources associated with ncb_lana_num are freed and new resources are allocated. The ncb_callname[0] byte specifies the maximum number of sessions, the ncb_callname[2] byte specifies the maximum number of names, and the ncb_callname[3] byte requests that the application use the computer's name (which has the name number 1).

Table 22-20 describes the characteristics of the NCBRESET command.

Table 22-20 NCBRESET

Field

In/Out

Required

ncb_command

In

X

ncb_retcode

Out

ncb_lsn

In

X

ncb_num

In

X

ncb_buffer

ncb_length

ncb_callname

ncb_name

ncb_rto

ncb_sto

ncb_post

ncb_lana_num

In

X

ncb_cmd_cplt

Out

ncb_event



Network Programming for Microsoft Windows
Network Programming for Microsoft Windows (Microsoft Professional Series)
ISBN: 0735605602
EAN: 2147483647
Year: 2001
Pages: 172
Authors: Anthony Jones

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net