The NAME_BUFFER structure contains information about a local network name. One or more NAME_BUFFER structures follows an ADAPTER_STATUS structure when an application specifies the NCBASTAT command in the ncb_command member of the NCB structure.
typedef struct _NAME_BUFFER { // nb
UCHAR name[NCBNAMSZ];
UCHAR name_num;
UCHAR name_flags;
} NAME_BUFFER;
Value | Meaning |
---|---|
REGISTERING | The name specified by the name member is being added to the network. |
REGISTERED | The name specified by the name member has been successfully added to the network. |
DEREGISTERED | The name specified by the name member has an active session when an NCBDELNAME command is issued. The name will be removed from the name table when the session is closed. |
DUPLICATE | A duplicate name was detected during registration. |
DUPLICATE_DEREG | A duplicate name was detected with a pending deregistration. |
GROUP_NAME | The name specified by the name member was created by using the NCBADDGRNAME command. |
UNIQUE_NAME | The name specified by the name member was created by using the NCBADDNAME command. |
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in nb30.h.
The NetBIOS Interface Overview, NetBIOS Structures, ADAPTER_STATUS, NCB