Network Programming for Microsoft Windows (Microsoft Professional Series)
NCBENUM
This command enumerates LANA numbers. When you issue this command, set ncb_buffer to a LANA_ENUM structure. On return, the length field of LANA_ENUM returns the number of LANA numbers on the local machine. The lana field of LANA_ENUM is filled with the LANA numbers. Table 22-13 describes the characteristics of the NCBENUM command.
| Field | In/Out | Required |
| ncb_command | In | X |
| ncb_retcode | Out | |
| ncb_lsn | ||
| ncb_num | ||
| ncb_buffer | In | X |
| ncb_length | In | X |
| ncb_callname | ||
| ncb_name | ||
| ncb_rto | ||
| ncb_sto | ||
| ncb_post | ||
| ncb_lana_num | In | X |
| ncb_cmd_cplt | Out | |
| ncb_event |