UNIVERSAL_NAME_INFO structure

The UNIVERSAL_NAME_INFO structure contains a pointer to a Universal Naming Convention (UNC) name string for a network resource.

Syntax


typedef struct _UNIVERSAL_NAME_INFO {
  LPTSTR lpUniversalName;
} UNIVERSAL_NAME_INFO;

Members

lpUniversalName

Pointer to the null-terminated UNC name string that identifies a network resource.

Remarks

A UNC path identifies a network resource in an unambiguous, computer-independent manner. You can pass the path to processes on other computers, allowing those processes to obtain access to the network resource.

Universal Naming Convention (UNC) names look like this:

\\servername\sharename\path\file

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winnetwk.h

Unicode and ANSI names

UNIVERSAL_NAME_INFOW (Unicode) and UNIVERSAL_NAME_INFOA (ANSI)

See also

Windows Networking (WNet) Overview
Windows Networking Structures
WNetGetUniversalName
REMOTE_NAME_INFO

 

 

Show: