다음을 통해 공유


2.2.3.3 NET_COMPUTER_NAME_TYPE

The NET_COMPUTER_NAME_TYPE enumeration specifies the types of names that can be enumerated for a computer using the NetrEnumerateComputerNames method (section 3.2.4.21).

 typedef  enum _NET_COMPUTER_NAME_TYPE
 {
   NetPrimaryComputerName = 0,
   NetAlternateComputerNames,
   NetAllComputerNames,
   NetComputerNameTypeMax
 } NET_COMPUTER_NAME_TYPE,
  *PNET_COMPUTER_NAME_TYPE;

NetPrimaryComputerName: Query the primary name of a computer.

NetAlternateComputerNames: Query the alternate names of a computer.

NetAllComputerNames: Query all names of a computer.

NetComputerNameTypeMax: Maximum number of name types.