USE_INFO_0 structure (lmuse.h)

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

Syntax

typedef struct _USE_INFO_0 {
  LMSTR ui0_local;
  LMSTR 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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header lmuse.h (include Lm.h)

See also

NetUseEnum

NetUseGetInfo

Network Management Overview

Network Management Structures

Use Functions