2.2.3.2 NETSETUP_NAME_TYPE
The NETSETUP_NAME_TYPE enumeration specifies the types of validation that can be performed for a computer name, workgroup name, or domain name (2).
-
typedef enum _NETSETUP_NAME_TYPE { NetSetupUnknown = 0, NetSetupMachine, NetSetupWorkgroup, NetSetupDomain, NetSetupNonExistentDomain, NetSetupDnsMachine } NETSETUP_NAME_TYPE, *PNETSETUP_NAME_TYPE;
NetSetupUnknown: Reserved.
NetSetupMachine: Verify that the name is valid as a NetBIOS computer name and that it is not in use.
NetSetupWorkgroup: Verify that the name is valid as a workgroup name.
NetSetupDomain: Verify that the name is valid as a NetBIOS domain name and that a domain with that name exists.
NetSetupNonExistentDomain: Verify that the name is valid as a NetBIOS domain name and that a domain with that name does not exist.
NetSetupDnsMachine: Verify that the name is valid as a DNS computer name.