Windows NT Extensions

The following commands are Windows NT extensions to the NetBIOS interface:

The NCBACTION command enables extensions to the NetBIOS interface. The ncb_buffer member of the NCB structure points to an ACTION_HEADER structure, which specifies the transport provider and the provider-defined action code. The process of issuing the NCBACTION command is shown in the following illustration.

The NCBENUM command enables enumeration of all LANA numbers. The ncb_buffer member of the NCB structure points to a LANA_ENUM structure, which specifies how many valid LANA numbers were returned, and an array of LANA numbers. The process of issuing the NCBENUM command is shown in the following illustration.

The NCBLANSTALERT command notifies the user of catastrophic network failures, which can occur, for example, when there are duplicate names on the network. NCBLANSTALERT is typically issued as an asynchronous command. The command returns if an error occurs. At that time, the application should cease to use the network route. When the command returns, ncb_retcode does not indicate the error status associated with the network error condition. It indicates the success or failure of the NCBLANSTALERT command. The process of issuing the NCBLANSTALERT command is shown in the following illustration.