REMOTE_NAME_INFOW 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.
Syntax
typedef struct _REMOTE_NAME_INFOW {
LPWSTR lpUniversalName;
LPWSTR lpConnectionName;
LPWSTR lpRemainingPath;
} REMOTE_NAME_INFOW, *LPREMOTE_NAME_INFOW;
Members
lpUniversalName
Pointer to the universal name if the provider supports universal names. Otherwise, this points to NULL.
lpConnectionName
Pointer to a string containing the remote name used to make the connection. This string does not have a trailing backslash.
lpRemainingPath
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.
Remarks
Note
The winnetwk.h header defines REMOTE_NAME_INFO as an alias that 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 is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winnetwk.h |