Network Programming for Microsoft Windows (Microsoft Professional Series)
NCBADDNAME
This command adds a unique name to the local name table. This name must be unique across the network, or an error is returned. A name number is returned in the ncb_num field that is used in datagram operations. Table 22-2 describes the characteristics of the NCBADDNAME command.
| Field | In/Out | Required |
| ncb_command | In | X |
| ncb_retcode | Out | |
| ncb_lsn | ||
| ncb_num | Out | |
| ncb_buffer | ||
| ncb_length | ||
| ncb_callname | ||
| ncb_name | In | X |
| ncb_rto | ||
| ncb_sto | ||
| ncb_post | In | |
| ncb_lana_num | In | X |
| ncb_cmd_cplt | Out | |
| ncb_event | In |