REMOTE_NAME_INFOA structure (winnetwk.h)

The REMOTE_NAME_INFO structure contains information about the remote form of a universal name. It is used by the NPGetUniversalName function.


typedef struct _REMOTE_NAME_INFOA {
  LPSTR lpUniversalName;
  LPSTR lpConnectionName;
  LPSTR lpRemainingPath;



Pointer to the universal name if the provider supports universal names. Otherwise, this points to NULL.


Pointer to a string containing the remote name used to make the connection. This string does not have a trailing backslash.


Pointer to the remaining path that must to be concatenated to a drive letter after a connection is established by means of lpConnectionName, to refer to the object specified during the call to NPGetUniversalName. This string has a backslash at the start of the path.



The winnetwk.h header defines REMOTE_NAME_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.


Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winnetwk.h