Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies a type of computer name.
Syntax
typedef enum _COMPUTER_NAME_FORMAT {
ComputerNameNetBIOS,
ComputerNameDnsHostname,
ComputerNameDnsDomain,
ComputerNameDnsFullyQualified,
ComputerNamePhysicalNetBIOS,
ComputerNamePhysicalDnsHostname,
ComputerNamePhysicalDnsDomain,
ComputerNamePhysicalDnsFullyQualified,
ComputerNameMax
} COMPUTER_NAME_FORMAT;
Constants
ComputerNameNetBIOSThe NetBIOS name of the local computer or the cluster associated with the local computer. This name is limited to MAX_COMPUTERNAME_LENGTH + 1 characters and may be a truncated version of the DNS host name. For example, if the DNS host name is "corporate-mail-server", the NetBIOS name would be "corporate-mail-". |
ComputerNameDnsHostnameThe DNS name of the local computer or the cluster associated with the local computer. |
ComputerNameDnsDomainThe name of the DNS domain assigned to the local computer or the cluster associated with the local computer. |
ComputerNameDnsFullyQualifiedThe fully qualified DNS name that uniquely identifies the local computer or the cluster associated with the local computer. This name is a combination of the DNS host name and the DNS domain name, using the form HostName.DomainName. For example, if the DNS host name is "corporate-mail-server" and the DNS domain name is "microsoft.com", the fully qualified DNS name is "corporate-mail-server.microsoft.com". |
ComputerNamePhysicalNetBIOSThe NetBIOS name of the local computer. On a cluster, this is the NetBIOS name of the local node on the cluster. |
ComputerNamePhysicalDnsHostnameThe DNS host name of the local computer. On a cluster, this is the DNS host name of the local node on the cluster. |
ComputerNamePhysicalDnsDomainThe name of the DNS domain assigned to the local computer. On a cluster, this is the DNS domain of the local node on the cluster. |
ComputerNamePhysicalDnsFullyQualifiedThe fully qualified DNS name that uniquely identifies the computer. On a cluster, this is the fully qualified DNS name of the local node on the cluster. The fully qualified DNS name is a combination of the DNS host name and the DNS domain name, using the form HostName.DomainName. |
ComputerNameMaxNot used. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | sysinfoapi.h (include Windows.h) |