NAME_BUFFER structure (nb30.h)
[Netbios is not supported on Windows Vista, Windows Server 2008, and subsequent versions of the operating system]
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.
Syntax
typedef struct _NAME_BUFFER {
UCHAR name[NCBNAMSZ];
UCHAR name_num;
UCHAR name_flags;
} NAME_BUFFER, *PNAME_BUFFER;
Members
name[NCBNAMSZ]
Specifies the local network name. This value is in the ncb_name member of the NCB structure.
name_num
Specifies the number for the local network name. This value is in the ncb_num member of the NCB structure.
name_flags
Specifies the current state of the name table entry. This member can be one of the following values.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | nb30.h |
See also