Network Programming for Microsoft Windows (Microsoft Professional Series)
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.
| 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 |