Platform SDK: Windows Networking

UNIVERSAL_NAME_INFO

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

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

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Header: Declared in Npapi.h.

See Also

Windows Networking (WNet) Overview, Windows Networking Structures, WNetGetUniversalName, REMOTE_NAME_INFO