Platform SDK: Network Management

USE_INFO_0

The USE_INFO_0 structure contains the name of a shared resource and the local device redirected to it.

typedef struct _USE_INFO_0 {
  LPWSTR  ui0_local;
  LPWSTR  ui0_remote;
}USE_INFO_0, *PUSE_INFO_0, *LPUSE_INFO_0;

Members

ui0_local
Pointer to a Unicode string that specifies the local device name (for example, drive E or LPT1) being redirected to the shared resource. The constant DEVLEN specifies the maximum number of characters in the string.
ui0_remote
Pointer to a Unicode string that specifies the share name of the remote resource being accessed. The string is in the form:
\\servername\sharename

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmuse.h.

See Also

Network Management Overview, Network Management Structures, Use Functions, NetUseEnum, NetUseGetInfo